ZipPreserveAttributes Property MSBuild Extension Pack Help 4.0.12.0
This is only applicable when the TaskAction is Create or AddFiles. Specifies whether file (folder) attributes like Hidden or Read-only should be left intact during adding to the archive. The default is true.

Namespace: MSBuild.ExtensionPack.Compression
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
See Also

Reference