ZipFile class constructor prior v1.4 had this constructor:
public ZipFile(string name)
In v1.4 optional parameter StringCodec was added which causing Method not found exception in other libraries built with older versions of SharpZipLib. It's a breaking change, instead of adding optional parameter you should create 2 separate constructors.
Describe the bug
ZipFile class constructor prior v1.4 had this constructor:
public ZipFile(string name)
In v1.4 optional parameter
StringCodec
was added which causingMethod not found
exception in other libraries built with older versions of SharpZipLib. It's a breaking change, instead of adding optional parameter you should create 2 separate constructors.Updating SharpZipLib to v1.4 breaks NPOI: https://github.com/nissl-lab/npoi/issues/1149
Reproduction Code
No response
Steps to reproduce
described
Expected behavior
No breaking change should be introduced
Operating System
Windows, macOS, Linux
Framework Version
.NET 7, .NET 6, .NET 5, .NET Core v3 and earlier, .NET Framework 4.x
Tags
ZIP
Additional context
No response