diff --git a/README.md b/README.md index a8ad58583..797bb08c7 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,15 @@ I'm always looking for help or ideas. Please submit code or email with ideas. Un ## Version Log +### Version 0.16.0 + +* Breaking - [Progress Event Tracking rethink](https://github.com/adamhathcock/sharpcompress/pull/226) +* Update to VS2017 - [VS2017](https://github.com/adamhathcock/sharpcompress/pull/231) - Framework targets have been changed. +* New - [Add Zip64 writing](https://github.com/adamhathcock/sharpcompress/pull/211) +* [Fix invalid/mismatching Zip version flags.](https://github.com/adamhathcock/sharpcompress/issues/164) - This allows nuget/System.IO.Packaging to read zip files generated by SharpCompress +* [Fix 7Zip directory hiding](https://github.com/adamhathcock/sharpcompress/pull/215/files) +* [Verify RAR CRC headers](https://github.com/adamhathcock/sharpcompress/pull/220) + ### Version 0.15.2 * [Fix invalid headers](https://github.com/adamhathcock/sharpcompress/pull/210) - fixes an issue creating large-ish zip archives that was introduced with zip64 reading. diff --git a/build.cake b/build.cake index 0621c8136..ec985ac9e 100644 --- a/build.cake +++ b/build.cake @@ -22,7 +22,12 @@ Task("Test") var files = GetFiles("tests/**/*.csproj"); foreach(var file in files) { - DotNetCoreTest(file.ToString()); + var settings = new DotNetCoreTestSettings + { + Configuration = "Release" + }; + + DotNetCoreTest(file.ToString(), settings); } }); diff --git a/src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs b/src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs index 3e29a0f5a..fd8f4ba4a 100644 --- a/src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs +++ b/src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs @@ -30,7 +30,7 @@ internal uint Write(Stream outputStream, ZipCompressionMethod compression) var decompressedvalue = zip64 ? uint.MaxValue : (uint)Decompressed; var headeroffsetvalue = zip64 ? uint.MaxValue : (uint)HeaderOffset; var extralength = zip64 ? (2 + 2 + 8 + 8 + 8 + 4) : 0; - var version = (byte)(zip64 ? 45 : 10); + var version = (byte)(zip64 ? 45 : 20); // Version 20 required for deflate/encryption HeaderFlags flags = HeaderFlags.UTF8; if (!outputStream.CanSeek)