Skip to main content

Announcing an update for .NET Upgrade Assistant with a new CLI tool!

We are happy to announce that we’ve released a new version of the Upgrade Assistant CLI tool! Now you can port your applications from either Visual Studio or your command line and benefit from all the latest features and improvements of .NET!

The .NET Upgrade Assistant is a tool that helps you upgrade your application to the latest .NET and migrate from older platforms such as Xamarin Forms and UWP to newer offerings. The same functionality is available from both the Visual Studio and command line experiences.

CLI Experience

We have just updated the .NET Upgrade Assistant CLI tool with a new engine used in the Visual Studio extension of Upgrade Assistant. Now you can port any type of app and leverage the power of AI in your upgrading journey.

To install this global .NET tool, use the following command:

    dotnet tool install -g upgrade-assistant

To update this tool to the latest available version, call:

    dotnet tool update -g upgrade-assistant

Now as the tool is installed, you can use it to port your applications. Navigate to the directory that contains the project you want to upgrade and call the command:

    upgrade-assistant upgrade

The CLI tool provides an interactive way of choosing which project to upgrade and which version of .NET to target. Use the arrow keys to select an item and press Enter to run the item.

For more details, refer to our documentation:

Visual Studio experience

If you have read my previous blogs, Upgrading your .NET projects with Visual Studio and Announcing a new version of the .NET Upgrade Assistant with support for .NET MAUI and Azure Functions!, you might be familiar with the Visual Studio extension for this tool. Once you install it, you can upgrade your projects by right-clicking on the project in the Solution Explorer window, and selecting Upgrade.

.NET Upgrade Assistant in Visual Studio

For more details, refer to our documentation:

Give us feedback

Please give us your feedback so we can build the right tools for you! Fill out this brief survey.

You can also file issues or feature requests from Visual Studio by choosing Help | Send Feedback. Make sure to mention “Upgrade Assistant vsix” in the title.

The post Announcing an update for .NET Upgrade Assistant with a new CLI tool! appeared first on .NET Blog.



source https://devblogs.microsoft.com/dotnet/upgrade-assistant-cli/

Comments

Popular posts from this blog