My C# project references several NuGet packages, some of which result in undesired files in the build output, for example a 250MB PDB and native libraries for CPU architectures