Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Closed Issue: NuGet Cannot Handle Target Framework Changes Properly [2643]

$
0
0
Assuming I created a project and that projects targets .NET Framework 4.5. Then, I install bunch of nuget packages and the assemblies are obtained from for net45.

Later, if I change the Target Framework to .NET 4.0, the assembly references are changed accordingly but packages.config stays still and points to wrong framework version (net45 in this case).

I wonder if this would cause a problem if the nuget package restore is configured.
Comments: We are addressing this in the upcoming 2.7 release by showing a build error when we detect this situation.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>