title: Zip using msbuild task
body: <p>I try to create msbuild that will zip the build package</p>
  
  <p>i have those line in the msbuild file:</p>
  
  <pre><code>&lt;UsingTask AssemblyFile="MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.Zip" /&gt;
  &lt;Zip Files="$(OutputFiles)" ZipFileName="output\SomeService.v$(BuildNumber).zip" /&gt;
  </code></pre>
  
  <p>And when I run this msbuild I get exception:</p>
  
  <p>error MSB4018: </p>
  
  <blockquote>
    <p>The "Zip" task failed unexpectedly.\r
    C:\Projects\Services\SomeService\DeployClassificationService.build(92,5):
    error MSB4018: System.IO.FileNotFoundException: Could not load file or
    assembly 'ICSharpCode.SharpZipLib, Version=0.84.0.0, Culture=neutral,
    PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The
    system cannot find the file specified.\r</p>
  </blockquote>
  
  <p>What is ICSharpCode? I tried to include it within the msbuild fir and it did not help.</p>
  
  <p>Thanks,
  Alon</p>