title: MSBuild Extension Pack Zip the folders and subfolders
body: <p>I have to Zip my folders and subfolders Using MSbuild, I was looking at the MSBuild Extension pack, and tried this</p>
  
  <pre><code> &lt;ItemGroup&gt;
    &lt;ZipFiles Include="\Test\Web\**\*.*" &gt;
      &lt;Group&gt;Release&lt;/Group&gt;
    &lt;/ZipFiles&gt;
   &lt;/ItemGroup&gt;
  
  
  
   &lt;MSBuild.ExtensionPack.Compression.Zip TaskAction="Create" CompressFiles="@(ZipFiles)" ZipFileName="$(WorkingDir)%(ZipFiles.Group).zip"/&gt;
  </code></pre>
  
  <p>When I do this it just keep adding all the files to root, instead of adding it into the specific subfolder within the zip file.</p>
  
  <p>I am missing something, can anyone help here please.</p>