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.
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.