If you find yourself in the middle of upgrading the .NET Framework on your project, you may have encountered some errors letting you know that the project's associated NuGet packages need to be re-installed.
Have no fear, you are almost done with your upgrade. Long gone are the days of having to manually go through your entire project uninstalling the packages yourself. With NuGet 2.1+, this becomes trivial.
In Package Manager (View -> Other Windows -> Package Manager) type:
This command will uninstall all NuGet packages in your entire solution and re-install them targeting the correct .NET framework.
Happy solution upgrading.
Subscribe for Free
Want to stay ahead of the curve? Subscribe now to receive the latest updates, actionable insights, and thought-provoking ideas around business, technology, and leadership straight to your inbox.