Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
GitHub Copilot app modernization is available across multiple development environments. Choose your preferred environment to get started with installation and setup.
Prerequisites
Before you install, make sure you have the following:
- Windows operating system.
- Visual Studio 2026 (or Visual Studio 2022 version 17.14.17+).
- .NET desktop development workload with these optional components enabled: GitHub Copilot, GitHub Copilot app modernization.
- GitHub Copilot subscription (paid or free).
- Sign in to Visual Studio with a GitHub account that has Copilot access.
- Code written in C#.
Install
GitHub Copilot app modernization is included in Visual Studio and doesn't require a separate installation. Enable the GitHub Copilot and GitHub Copilot app modernization optional components in the .NET desktop development workload through the Visual Studio Installer.
Verify the installation
- Open a solution in Visual Studio.
- Right-click a project in Solution Explorer and select Modernize, or open GitHub Copilot Chat and type
@Modernize.
Prerequisites
Before you install, make sure you have the following:
- Visual Studio Code.
- GitHub Copilot extension installed.
- GitHub Copilot subscription (paid or free).
Install
Install the GitHub Copilot app modernization extension from the VS Code Marketplace.
Verify the installation
- Open a project in Visual Studio Code.
- Open the Copilot chat and type
@modernize-dotnet.
Prerequisites
Before you install, make sure you have the following:
- GitHub Copilot CLI installed.
- GitHub Copilot subscription (paid or free).
Install
Complete these three steps to install:
Open the GitHub Copilot chat window.
Add the marketplace plugin:
/plugin marketplace add dotnet/modernize-dotnetInstall the plugin:
/plugin install modernize-dotnet@modernize-dotnet-plugins
Verify the installation
Run /agent to confirm that modernize-dotnet appears in the agent list.
Prerequisites
Before you install, make sure you have the following:
- GitHub Copilot Enterprise or Business subscription with coding agents enabled.
- Repository admin access.
Install
Add the custom coding agent to your repository:
- Learn about adding custom coding agents to your repo.
- Add the
modernize-dotnetagent. See the coding agent README for details.
Verify the installation
The modernize-dotnet agent appears as an available coding agent in your repository.