[PR #236] Default zip ver to 20 (deflate/encyption), fixes #164 #921

Closed
opened 2026-01-29 22:18:13 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/236

State: closed
Merged: Yes


Sets the default level of '20' for zip files in the ZipCentralDirectoryBlock to match '20' used in Zip Local File Headers at https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/Zip/ZipWriter.cs#L162

This makes Microsoft's compression.io library used by NuGet happy (and possibly some other tools)

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/236 **State:** closed **Merged:** Yes --- Sets the default level of '20' for zip files in the ZipCentralDirectoryBlock to match '20' used in Zip Local File Headers at https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/Zip/ZipWriter.cs#L162 This makes Microsoft's compression.io library used by NuGet happy (and possibly some other tools)
claunia added the pull-request label 2026-01-29 22:18:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#921