I decided to use MSBuild Extension\'s Zip task to compress some of my source code at every build.
However, this not works:
Example for MSBuild Community Tasks:
If you need more examples, here is a complete working MSBuild file from one of my projects.