Reputation: 8898
I have a nuget package that multi targets netstandard1.4 and net461.
When I use this nuget package from a .net 4.6.1 project pulls in all the system.* assemblies and the NETStandard.Library
Why is it doing this and how do I get it to reference the net461 version, without all the net standard stuff.
Upvotes: 1
Views: 75
Reputation: 8898
Fixed it..
My Nuget package had a dependency on another package. I had a reference to the net standard version of that other package.
Updating to a multi targeted version of the other package fixed my problem.
Upvotes: 1