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

Installing the driver using NuGet pulls compression dlls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 2.12.2
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              wan.bachtiar Wan Bachtiar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: