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:
- is related to
-
MONGOCRYPT-471 Improve libmongocrypt packaging for .NET/C# bindings
- Backlog
-
CSHARP-2874 Improve Snappy dll loading and/or packaging
- Closed
-
CSHARP-4271 Replace Snappy and Zstd with managed implementations
- Closed