Zip PropertiesMSBuild Extension Pack Help 4.0.12.0

The Zip type exposes the following members.

Properties

  NameDescription
Public propertyCompressFiles
Sets the files to Compress
Public propertyCompressionLevel
Sets the CompressionLevel to use. Default is Default, also supports BestSpeed and BestCompression
Public propertyCompressPath
Sets the Path to Zip.
Public propertyExtractPath
Path to extract the zip file to
Public propertyMaxOutputSegmentSize
Sets the maximum output segment size, which typically results in a split archive (an archive split into multiple files). This value is not required and if not set or set to 0 the resulting archive will not be split. For more details see the DotNetZip documentation.
Public propertyPassword
Sets the Password to be used
Public propertyPreserveAttributes
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.
Public propertyRemoveRoot
Sets the root to remove from the zip path. Note that this should be part of the file to compress path, not the target path of the ZipFileName
Public propertyUseZip64WhenSaving
Sets the UseZip64WhenSaving output of the DotNetZip library. For more details see the DotNetZip documentation.
Public propertyZipFileName
Sets the name of the Zip File
Top
See Also

Reference