mikefourie-zz / MSBuildExtensionPack

MIT License
367 stars 104 forks source link

Ability to remove special file attributes like "hidden" or "read-only" when zipping #27

Closed vsvyatski closed 9 years ago

vsvyatski commented 9 years ago

When a remote build is performed, TFS initially gets the latest version of the source and marks all the files as readonly. When these files are added to ZIP using the extension pack's Zip task, they keep all their attributes. I wanted an ability to optionally get rid of those specific attributes on files that is in ZIP (keeping original files intact) and I implemented the feature by adding an additional task property named PreserveAttributes which is true by default.