Monday, June 12, 2023

.NET Upgrade Assistant CLI

In this post, let's have a look at the .NET Upgrade Assistant CLI, a CLI tool to upgrade .NET projects to use the latest .NET and benefit from all its nice features.

As you know Visual Studio has this extension .NET Upgrade Assistant for quite some time and the new CLI tool uses the same engine as the Visual Studio Extension.

First, you can install the CLI tool globally by running the following command.
dotnet tool install -g upgrade-assistant
You can upgrade the CLI tool to the latest version by running the following command.
dotnet tool update -g upgrade-assistant
Once the tool is installed, next you need to run the following command.
upgrade-assistant upgrade
upgrade-assistant --help
Why wait, bring your apps to the latest .NET.

Happy Coding.

Regards,
Jaliya

No comments:

Post a Comment