Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3612

Installing the driver using NuGet pulls compression dlls

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.18.0
    • Affects Version/s: 2.12.2
    • Component/s: Packaging
    • Labels:
      None
    • Minor Change

      Users installing MongoDB.Driver via NuGet are pulling extra `dlls`

      • Core/Compression/Snappy/lib/win/snappy32.dll
      • Core/Compression/Snappy/lib/win/snappy64.dll
      • Core/Compression/Zstandard/lib/win/libzstd.dll

      Worth noting that the presence of these files in the project should not cause any issues.

      However, these libraries are defined as content files and not references, they are not copied over the project during a simple NuGet restore, which may become an issue when dealing with VCS.

      Original question :

      https://developer.mongodb.com/community/forums/t/nuget-and-snappy-libraries-impact-on-vcs-git/10011

      One of the users have kindly provided a repo example project:

      https://github.com/AnturGyffrous/mongo-snappy

            Assignee:
            Unassigned Unassigned
            Reporter:
            wan.bachtiar@mongodb.com Wan Bachtiar
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: