Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
GitHub Copilot upgrade works across multiple development environments. Choose your preferred environment to install and set up GitHub Copilot upgrade.
Prerequisites
Before you install, make sure you have:
- 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# or Visual Basic.
Install
Visual Studio includes GitHub Copilot upgrade through the GitHub Copilot app modernization optional component, so you don't need to install it separately. 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:
- Visual Studio Code.
- GitHub Copilot extension installed.
- GitHub Copilot subscription (paid or free).
Install
Install as a Visual Studio Code extension:
- In Visual Studio Code, open the Extensions view (Ctrl+Shift+X).
- Search for GitHub Copilot upgrade.
- Select Install.
The extension automatically acquires the .NET SDK if it's missing, registers tools, and adds the agent to Copilot Chat as Upgrade.
Verify the installation
Open a project in Visual Studio Code.
Open the GitHub Copilot Chat view.
Send
@upgradein chat and confirm the agent responds.-or-
Select the Agent picker and find the
Upgradeentry.
Prerequisites
Before you install, make sure you have:
- GitHub Copilot CLI installed.
- GitHub Copilot subscription (paid or free).
Install
Install through the GitHub Copilot CLI:
Open the GitHub Copilot chat window.
Add the marketplace plugin:
/plugin marketplace add microsoft/upgrade-agent-pluginsInstall the plugin:
/plugin install upgrade-agent@upgrade-agent-plugins
Verify the installation
Run /agent to confirm that upgrade-agent appears in the agent list.
Prerequisites
Before you install, make sure you have:
- GitHub Copilot app installed.
- GitHub Copilot subscription (paid or free).
Install
Install the microsoft/upgrade-agent-plugins marketplace through the GitHub Copilot app:
- Click this link to automatically open the Settings > Plugins window in the GitHub Copilot app.
- In the Add plugin marketplace? dialog, select Allow.
- The Plugins window opens with the
microsoft/upgrade-agent-pluginsmarketplace, select Add marketplace. - Expand the upgrade-agent-plugins entry and select Install on the upgrade-agent plugin.
Important
If the plugin's button displays Install again after you select it, the installation failed. Close all instances of Visual Studio, Visual Studio Code, and Copilot CLI, and then try again.
Verify the installation
Run /agent to confirm that upgrade-agent:upgrade appears in the agent list.
-or-
Select the Default agent picker and find the Upgrade entry.
Prerequisites
Before you install, make sure you have:
- GitHub Copilot Enterprise or Business subscription with coding agents enabled.
- Repository admin access.
Install
Add the custom coding agent to your repository:
- Review adding custom coding agents to your repository.
- Add the
upgradeagent. See the coding agent README for details.