Description
Currently, the way Snappy is packaged results in multiple copies of the snappy64.dll being included in the nuget package (see image).
Using more modern packaging strategies (i.e. leveraging content/contentFiles or runtime) should reduce redundant copies by at least one.
Research will likely be needed because the official documentation is currently somewhat unsatisfactory (see https://github.com/NuGet/Home/issues/6645 and https://github.com/NuGet/Home/issues/8623). A preliminary scan of the literature suggests that we may even be able to simply use DllImport instead of using our current LibraryLoader approach, which would simplify the codebase.
Attachments
Issue Links
- is related to
-
MONGOCRYPT-471 Improve libmongocrypt packaging for .NET/C# bindings
-
- Backlog
-
-
CSHARP-4271 Replace Snappy and Zstd with managed implementations
-
- Closed
-
- related to
-
CSHARP-3612 Installing the driver using NuGet pulls compression dlls
-
- Closed
-