Zip files created with .NET 4.6.0 are not cross platform compatible, because they use backslashes instead of forward slashes. This is fixed in .NET 4.6.1. We stumbled on the bug in ZipFileWrap because we were using this Stack Overflow workaround to get cross platform zip files. Later, when we started using ZipFileWrap, this code stopped working. This was traced to the bug on the above line where the Encoding parameter is not passed to the underlying .NET class.
On this line, the Encoding parameter that is passed to
ZipFileWrap.Open
should be passed intoZipFile.Open
https://github.com/jozefizso/SystemWrapper/blob/develop/SystemWrapper/IO/Compression/ZipFileWrap.cs#L41Zip files created with .NET 4.6.0 are not cross platform compatible, because they use backslashes instead of forward slashes. This is fixed in .NET 4.6.1. We stumbled on the bug in
ZipFileWrap
because we were using this Stack Overflow workaround to get cross platform zip files. Later, when we started usingZipFileWrap
, this code stopped working. This was traced to the bug on the above line where the Encoding parameter is not passed to the underlying .NET class.