Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
GitHub Copilot modernization works across multiple development environments. Choose your preferred environment to install and set up GitHub Copilot modernization.
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 modernization 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 modernization.
- Select Install.
Verify the installation
Open a project in Visual Studio Code.
Open the GitHub Copilot Chat view.
Send
@modernizein chat and confirm the agent responds.-or-
Select the Agent picker and find the
Modernizeentry.
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/github-copilot-modernizationInstall the plugin:
/plugin install github-copilot-modernization@github-copilot-modernization
Verify the installation
Run /plugin list to confirm that github-copilot-modernization@github-copilot-modernization appears in the list.
Prerequisites
Before you install, make sure you have:
- GitHub Copilot app installed.
- GitHub Copilot subscription (paid or free).
Install
Install through the GitHub Copilot app:
- Click https://github.com/copilot/app/launch to automatically open the Settings > Plugins window in the GitHub Copilot app.
- In the Add plugin marketplace? dialog, select Allow.
- In the Plugins window, select Add marketplace.
- Expand the github-copilot-modernization entry and select Install on the github-copilot-modernization plugin.
Verify the installation
Run /agent to confirm that the new agent appears in the agent list.