I need to retarget a project to .Net framework 4 from 4.5.1 (for compatibility with third party software).
It's a collaborative venture, so they they actually need to directly 'lift' some of our projects. The problem also (can) appear(s) on branching our code or when a new developer does a pull from SVN..
If I naively just change target framework in our projects, naturally it messes up the NuGet refs. If I go onto NuGet, of course it only shows newer versions of the packages - which do not /will not work.
I understand that I can do package de-installation/installation manually (e.g. as here How to install an older version of package via NuGet? )
- How do I find out exactly which package versions I need for compatibility with .Net Framework 4.0....?
- How do I ensure that NuGet does not try to update them in future?
- How do I ensure that it all still works on a branch or new developer machine?
It's packages like all the ASP/MVC/Razor stuff, ASP.Net.Web (various) JSON, Ninject ...