After installing VS 2015 update 3 (and nuget 3.4.4), I've noticed more dependencies being installed into my 4.6.1 projects when I import something dependent upon .NETStandard 1.4
.
Since .NET Framework 4.6.1 implements .NET Standard 1.4, why is nuget bringing in each System.X
assembly? Shouldn't it know the target framework already has what it needs?
Steps to reproduce what I'm seeing (and confused about):
- VS 2015 Update 3, upgrade nuget to 3.5-rc1 (but you don't have to).
- New Console application targeting .NET Framework 4.6.1
- Install-Package
Microsoft.IdentityModel.Clients.ActiveDirectory
- Notice it has a dependency on .NET Standard 1.4 (which my target framework implements)
- Notice the
System.X
(System.IO
,System.Collections
,System.Linq
, etc.) that get included. That doesn't seem necessary and wasn't happening before I updated nuget.