Microsoft Dev Blogs

Code Assessment with .NET Upgrade Assistant

thumbnail

.NET Upgrade Assistant

Introduction

.NET Upgrade Assistant is a tool designed to assist with upgrading applications to newer versions of the .NET framework. It can help identify issues that need to be addressed during the upgrade process.

Installation

  • Install the Visual Studio extension from the Visual Studio Marketplace or within Visual Studio itself.
  • The tool can be easily updated by running a specific command.

Analyzing Applications

Visual Studio

  • Select the projects to analyze and choose the target framework for the upgrade.
  • Hit "Analyze" to start the assessment of the application and generate a report.

CLI

  • Open a terminal window and navigate to the project directory.
  • Use the CLI tool to analyze the application with available options.
  • Select the project to analyze and get a report in the chosen format.

Viewing Results

  • Detailed reports are provided with information on each incident, guidance on fixing them, and the ability to jump to the location in code.
  • View issues by type or component to understand where most of the issues originate from.

Sharing Results

  • Save the analysis results in various formats to share the report with others.
  • Enter a name for the report and generate it in the selected format.

Feedback

  • Provide feedback or report issues by filing them in the .NET Upgrade Assistant repository or through the Visual Studio feedback channel.

For more detailed information and guidance on using the .NET Upgrade Assistant, refer to the documentation and resources provided by Microsoft Learn and the official .NET Upgrade Assistant page.