[MONGOCRYPT-300] Fix duplication in NuGet packaging for .NET/C# Created: 15/Dec/20  Updated: 30/Mar/22

Status: Backlog
Project: Libmongocrypt
Component/s: .Net Binding
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: James Kovacs Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The `nupkg` file contains a lot of duplicate unmanaged binaries that probably don't need to be included. If you uncompress the resulting `nupkg` file, we have `/Content`, `/ContentFiles`, `/runtimes`, and `/x64/native/osx` all with the same unmanaged dependencies over and over again. We should investigate whether we need the `targets` file (in `/build`) or whether it is superfluous.

We should review and better understand the NuGet packaging so that we can simplify the NuGet package. The intention is to reduce the number of problems we have when including this package on different frameworks, OSes, and project types.


Generated at Thu Feb 08 09:08:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.