Skip to main content

Command Palette

Search for a command to run...

Nuget re-targeting after upgrading .Net Framework

Updated
1 min read
Nuget re-targeting after upgrading .Net Framework

If you want to upgrade your project framework to a newer. For example, you want to upgrade from 4.5 to 4.8

You can use the following method when upgrading the framework in Visual Studio.

Choose your new framework from here:

Project-Properties-Application-Target framework

For example, choose 4.8

Then update the NuGet packages like this :

Tools-NuGet Package Manager-Package Manager Console

In Package Manager Console, run:

Update-Package -Reinstall

More from this blog

A developer's diary

45 posts

Just developer