Rediger

Install GitHub Copilot modernization

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:

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

  1. Open a solution in Visual Studio.
  2. 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:

  1. In Visual Studio Code, open the Extensions view (Ctrl+Shift+X).
  2. Search for GitHub Copilot modernization.
  3. Select Install.

Verify the installation

  1. Open a project in Visual Studio Code.

  2. Open the GitHub Copilot Chat view.

  3. Send @modernize in chat and confirm the agent responds.

    -or-

    Select the Agent picker and find the Modernize entry.

Prerequisites

Before you install, make sure you have:

Install

Install through the GitHub Copilot CLI:

  1. Open the GitHub Copilot chat window.

  2. Add the marketplace plugin:

    /plugin marketplace add microsoft/github-copilot-modernization
    
  3. Install 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:

Install

Install through the GitHub Copilot app:

  1. Click https://github.com/copilot/app/launch to automatically open the Settings > Plugins window in the GitHub Copilot app.
  2. In the Add plugin marketplace? dialog, select Allow.
  3. In the Plugins window, select Add marketplace.
  4. 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.