Can't install nuget package; DNXCore dependency confusion
<p>I'm trying to add the NuGet package <a href="https://www.nuget.org/packages/Naos.Packaging.NuGet/" rel="noreferrer">Naos.Packaging.Nuget</a> to the VS2015 project <a href="https://github.com/NaosProject/Naos.Deployment/" rel="noreferrer">Naos.Deployment.Core</a>.  Both are open source.</p>

<p>I'm getting this error:</p>

<p><code>Failed to add reference to 'System.Globalization'. Please make sure that it is in the Global Assembly Cache.</code></p>

<p>The full output is pasted below.</p>

<p>What's confusing is that Naos.Deployment.Core is a .net 4.5 project.  So is Naos.Packaging.Nuget.  Naos.Packaging.Nuget has a dependency on 
NuGet.Frameworks which has a dependency on System.Globalization (as far as I can tell, this is the only dependency on System.Globalization in the chain).  However, that dependency is only applicable for DNXCore 5.0 projects.</p>

<p>So why is the DNXCore concern an issue here?  Why can't I add this nuget package and how can I fix it up?</p>

<p>Tried <a href="https://stackoverflow.com/questions/27651342/failed-to-add-reference-to-system-net-http-please-make-sure-that-it-is-in-the">this approach</a> but it didn't work.  Using latest VS 2015 (update 1), with latest nuget.</p>

<pre><code>Attempting to gather dependencies information for package 'Naos.Packaging.NuGet.1.0.5' with respect to project 'Naos.Deployment.Core', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'Naos.Packaging.NuGet.1.0.5' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Naos.Packaging.NuGet.1.0.5'
Resolved actions to install package 'Naos.Packaging.NuGet.1.0.5'
Removed package 'NuGet.Core.2.8.6' from 'packages.config'
Successfully uninstalled 'NuGet.Core.2.8.6' from Naos.Deployment.Core
Adding package 'Naos.Packaging.Domain.1.0.5' to folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Added package 'Naos.Packaging.Domain.1.0.5' to folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Added package 'Naos.Packaging.Domain.1.0.5' to 'packages.config'
Successfully installed 'Naos.Packaging.Domain 1.0.5' to Naos.Deployment.Core
Adding package 'NuGet.Configuration.3.3.0' to folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Added package 'NuGet.Configuration.3.3.0' to folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Install failed. Rolling back...
Package 'NuGet.Configuration.3.3.0 : ' does not exist in project 'Naos.Deployment.Core'
Removed package 'Naos.Packaging.Domain.1.0.5 : ' from 'packages.config'
Package 'NuGet.Core.2.8.6' already exists in folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Added package 'NuGet.Core.2.8.6' to 'packages.config'
Removing package 'NuGet.Configuration.3.3.0 : ' from folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Removed package 'NuGet.Configuration.3.3.0 : ' from folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Removing package 'Naos.Packaging.Domain.1.0.5 : ' from folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Removed package 'Naos.Packaging.Domain.1.0.5 : ' from folder 'C:\Users\suraj\Documents\GitHub\Naos.Deployment\packages'
Failed to add reference to 'System.Globalization'. Please make sure that it is in the Global Assembly Cache.
========== Finished ==========
</code></pre>