AI-powered tools for upgrading and modernizing .NET applications across multiple development environments.
Choose the development environment you use and follow the setup instructions.
Visual Studio Code
- Visual Studio Code
- GitHub Copilot extension installed
- GitHub Copilot subscription (paid or free)
- Install the GitHub Copilot modernization extension from the VS Code Marketplace
- Open a workspace containing your .NET project
- Open Copilot Chat and select modernize-dotnet from the Agent picker
- Prompt the agent with the type of upgrade you would like to perform, for example: upgrade my project to .NET 10.
GitHub Copilot CLI
The modernize-dotnet plugin adds a modernization agent to Copilot CLI.
- GitHub Copilot CLI installed
- GitHub Copilot subscription (paid or free)
-
Add the marketplace:
/plugin marketplace add dotnet/modernize-dotnet -
Install the plugin:
/plugin install modernize-dotnet@modernize-dotnet-plugins -
Select the agent:
/agentto selectmodernize-dotnet -
Prompt the agent:
upgrade my project to .NET 10
Note: You may need to restart Copilot CLI after installing the plugin before the agent becomes available (tracking issue).
GitHub Copilot Coding Agent
A custom agent definition and setup steps are provided for use with Copilot Coding Agent in GitHub. This allows Copilot to modernize .NET projects directly via pull requests.
See the coding-agent README for setup instructions.
Visual Studio
- Windows operating system
- Visual Studio 2026 or Visual Studio 2022 version 17.14.17+
- .NET desktop development workload with the following components enabled
- GitHub Copilot
- GitHub Copilot app modernization
- GitHub Copilot subscription (paid or free)
-
Right-click a project in Solution Explorer
-
Select
Modernize -
Alternatively, open GitHub Copilot Chat and run: @Modernize