I\'ve been mucking about with a .NET Standard project and NuGet. I\'ve got a working project and have uploaded it to NuGet.org. My project targets .NET Standard 1.3, which s
If you're on .NET 4.6 and you're trying to figure out which ones you need to deploy, search your CSPROJ file for \System. (not a regex) - they are the ones in packages that need to be copied with your app, the rest should be framework DLLs.
To test this theory get rid of them in your local build and run that to make sure the deployed version won't break...
dir /b System*.dll > textfile.txt to get a list of the DLLs. Microsoft.Win32.Primitives.dll & netstandard.dll which weren't needed in 4.6 either.$(ProjectDir)DeleteSuperfluousSystemDlls.cmdI'd love to get off .NET 4.6 but AutoCAD breaks badly when the framework is too modern for it.
edit...
Here is some copy-paste ...
Edit the list created by dir /b System*.dll > textfile.txt to look a lot like
del %1Microsoft.Win32.Primitives.dll
del %1netstandard.dll
del %1System.AppContext.dll
del %1System.Collections.Concurrent.dll
del %1System.Collections.dll
del %1System.Collections.NonGeneric.dll
del %1System.Collections.Specialized.dll
del %1System.ComponentModel.dll
but don't forget to remove the ones actually need so they don't get deleted.