Nuget re-targeting after upgrading from .Net Framework 4.5 to 4.6.1

Viewed 79696

I have a .net solution with approx 30 projects, all of them targeting .Net Framework 4.5. and each referencing at least 3-4 NuGet packages.

We now need to update them to .Net Framework 4.6.1. So here's what I need to know:

  1. Do I need to re-target the NuGet packages as well or can I skip that since this will be an 'in-place' upgrade?
  2. If yes, can I just update the packages.config file for each project by replacing targetFramework="net45" with targetFramework="net461" for each NuGet package? I've seen a few threads recommending uninstall and then reinstall the package via 'update-package' command. I tried that today but it I ended up with a few errors.
3 Answers
Related