Skip to content

SharpZipLib v1.4 introduced breaking change #839

Description

@Bykiev

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 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.

Updating SharpZipLib to v1.4 breaks NPOI: nissl-lab/npoi#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzipRelated to ZIP file format

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions