Zip Properties | MSBuild Extension Pack Help 4.0.12.0 |
The Zip type exposes the following members.
Properties
Name | Description | |
---|---|---|
CompressFiles |
Sets the files to Compress
|
|
CompressionLevel |
Sets the CompressionLevel to use. Default is Default, also supports BestSpeed and BestCompression
|
|
CompressPath |
Sets the Path to Zip.
|
|
ExtractPath |
Path to extract the zip file to
|
|
MaxOutputSegmentSize |
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.
|
|
Password |
Sets the Password to be used
|
|
PreserveAttributes |
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.
|
|
RemoveRoot |
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
|
|
UseZip64WhenSaving |
Sets the UseZip64WhenSaving output of the DotNetZip library.
For more details see the DotNetZip documentation.
|
|
ZipFileName |
Sets the name of the Zip File
|
See Also