You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/porting/github-copilot-app-modernization/faq.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,21 @@ metadata:
6
6
author: adegeo
7
7
ms.author: adegeo
8
8
ms.topic: faq
9
-
ms.date: 09/15/2025
9
+
ms.date: 12/08/2025
10
10
11
11
title: GitHub Copilot app modernization FAQ
12
12
summary: |
13
13
GitHub Copilot app modernization is an interactive GitHub Copilot agent that adds powerful capabilities to Visual Studio. This article answers frequently asked questions. For more information about the modernization agent, see [What is GitHub Copilot app modernization](overview.md).
14
14
15
15
The tool requires one of the following GitHub Copilot subscriptions:
16
16
17
+
- Copilot Free (Starting with Visual Studio 2026 version 18.1)
17
18
- Copilot Pro
18
19
- Copilot Pro+
19
20
- Copilot Business
20
21
- Copilot Enterprise
21
22
22
-
GitHub Copilot app modernization is included in [Visual Studio 2026](https://visualstudio.microsoft.com/downloads/) (or Visual Studio 2022 version 17.14.17 or newer).
23
+
GitHub Copilot app modernization is included in [Visual Studio 2026](https://visualstudio.microsoft.com/downloads/) (or Visual Studio 2022 version 17.14.17 and newer).
Copy file name to clipboardExpand all lines: docs/core/porting/github-copilot-app-modernization/how-to-custom-upgrade-instructions.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "Learn how to apply custom upgrade instructions with GitHub Copilot
4
4
author: kschlobohm
5
5
ms.author: adegeo
6
6
ms.topic: how-to
7
-
ms.date: 10/09/2025
7
+
ms.date: 12/08/2025
8
8
ai-usage: ai-assisted
9
9
10
10
#customer intent: As a developer, I want to apply custom upgrade instructions during a .NET upgrade so that I can automate specific changes consistently.
@@ -80,7 +80,7 @@ Use these steps to incorporate an existing custom upgrade instruction into an up
80
80
81
81
1. In the **Solution Explorer** window, right-click the **solution** > **Modernize**.
82
82
1. In the chat, choose `Upgrade to a newer version of .NET`. Answer Copilot's questions until it generates the plan markdown file.
83
-
1. Review the generated plan. Confirm whether the intended transformation is already present. If it only lists a version bump, your custom instruction wasn't yet applied.
83
+
1. Review the generated plan. Confirm whether the intended transformation is already present. If it only lists a version bump, your custom instruction isn't yet applied.
84
84
1. In chat, explicitly reference the instruction using language similar to the file name. For example, "modify the plan using the custom instructions to replace Newtonsoft with System.Text.Json."
85
85
1. Wait for Copilot to confirm it retrieved the file. In chat, you see that it opened the markdown instruction file. If you don't see a reference, restate the request using the file's key verbs (replace, update, remove) and package names.
86
86
1. Review the plan file and verify that it includes the custom instruction's details.
@@ -89,7 +89,7 @@ Use these steps to incorporate an existing custom upgrade instruction into an up
89
89
90
90
For example, when replacing Newtonsoft, the plan switches from a version upgrade to replacing or removing the package.
91
91
92
-
The plan may have started as version upgrade, as illustrated in the following image:
92
+
The plan might start as a version upgrade, as shown in the following image:
93
93
94
94
:::image type="content" source="./media/how-to-custom-upgrade-instructions/visualstudio-copilot-upgrade6.png" alt-text="The screenshot shows the project-level (feature) actions added by the custom upgrade instruction. Projects that previously referenced Newtonsoft.Json are now slated for code refactoring to use System.Text.Json APIs.":::
95
95
@@ -104,9 +104,9 @@ Use these steps to incorporate an existing custom upgrade instruction into an up
104
104
105
105
### Tips for better activation
106
106
107
-
- Match the file's verb: if the file name uses replace, use that phrasing (not upgrade or fix).
107
+
- Match the file's verb: if the file name uses `replace`, use that phrasing (not `upgrade` or `fix`).
108
108
- Keep one transformation per file for clarity and reuse; sequence multiple files by listing prerequisites in each file.
109
-
- Ask Copilot to modify the plan rather than manually editing; this reduces the risk of breaking dependency ordering.
109
+
- Ask Copilot to modify the plan rather than manually editing; this approach reduces the risk of breaking dependency ordering.
110
110
- Avoid ambiguous requests like "improve the plan"; be explicit: "apply the replace_newtonsoft_with_system_text_json instructions."
111
111
112
112
## Validate the applied changes
@@ -119,7 +119,7 @@ After the upgrade completes:
119
119
120
120
## Clean up resources
121
121
122
-
If you created temporary instruction files for experimentation, remove or consolidate them to avoid overlapping transformations in future upgrades.
122
+
If you create temporary instruction files for experimentation, remove or consolidate them to avoid overlapping transformations in future upgrades.
Copy file name to clipboardExpand all lines: docs/core/porting/github-copilot-app-modernization/how-to-upgrade-with-github-copilot.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "Learn how to upgrade your .NET applications to newer versions usin
4
4
author: adegeo
5
5
ms.author: adegeo
6
6
ms.topic: how-to
7
-
ms.date: 09/15/2025
7
+
ms.date: 12/08/2025
8
8
ai-usage: ai-assisted
9
9
10
10
#customer intent: As a developer, I want to upgrade my .NET app using GitHub Copilot app modernization so that I can modernize my codebase efficiently with AI assistance.
@@ -31,7 +31,7 @@ The first step to upgrading is generating a plan by interacting with GitHub Copi
31
31
32
32
## Generate an upgrade plan
33
33
34
-
Once the process starts, Copilot analyzes your projects and their dependencies, and then asks you a series of questions about the upgrade. After you answer these questions, an upgrade plan is written in the form of a Markdown file.
34
+
When you start the process, Copilot analyzes your projects and their dependencies. It then asks you a series of questions about the upgrade. After you answer these questions, Copilot writes an upgrade plan as a Markdown file.
35
35
36
36
To generate and customize your plan:
37
37
@@ -41,7 +41,7 @@ To generate and customize your plan:
41
41
1. Tell Copilot to proceed with the upgrade when you're satisfied with the plan.
42
42
43
43
> [!CAUTION]
44
-
> The plan is generated based on the inter-dependencies of your projects. The upgrade won't succeed if you modify the plan in such a way that the migration path can't complete. For example, if **Project A** depends on **Project B** and you remove **Project B** from the upgrade plan, upgrading **Project A** might fail.
44
+
> The plan is generated based on the interdependencies of your projects. The upgrade won't succeed if you modify the plan in such a way that the migration path can't complete. For example, if **Project A** depends on **Project B** and you remove **Project B** from the upgrade plan, upgrading **Project A** might fail.
45
45
46
46
The following snippet demonstrates the structure of a plan:
47
47
@@ -80,7 +80,7 @@ NuGet packages used across all selected projects or their dependencies that need
80
80
81
81
## Perform the upgrade
82
82
83
-
Once an upgrade plan is ready, tell Copilot to start the upgrade. Once the upgrade process starts, Copilot lets you know what it's doing in the chat window and it opens the **Upgrade Progress Details** document, which lists the status of every step. If it runs into a problem, Copilot pauses and asks for your direction or help in fixing these problems.
83
+
When your upgrade plan is ready, tell Copilot to start the upgrade. Once the upgrade process starts, Copilot lets you know what it's doing in the chat window. It opens the **Upgrade Progress Details** document, which lists the status of every step. If it runs into a problem, Copilot pauses and asks for your direction or help in fixing these problems.
84
84
85
85
Each major step in the upgrade process is committed to the local Git repository.
86
86
@@ -146,7 +146,7 @@ The following example shows the report of a completed upgrade that contained a t
146
146
After completing the upgrade process:
147
147
148
148
- Review the generated upgrade report and any test results.
149
-
- Address any failing tests or compilation errors that might remain.
149
+
- Address any failing tests or compilation errors.
150
150
- Ensure all updated NuGet packages are compatible with your application.
151
151
- Test your application thoroughly to verify the upgrade was successful.
152
152
- Apply new features and improvements available in the upgraded .NET version.
Copy file name to clipboardExpand all lines: docs/includes/github-copilot-app-modernization-prereqs.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,21 @@
1
1
---
2
2
author: adegeo
3
3
ms.author: adegeo
4
-
ms.date: 09/23/2025
4
+
ms.date: 12/08/2025
5
5
ms.topic: include
6
6
# Shared by Azure.NET app mod and .NET app mod
7
7
---
8
8
9
-
- Windows Operating System
10
-
-[Visual Studio 2026](https://visualstudio.microsoft.com/downloads/) (or Visual Studio 2022 version 17.14.17 or newer).
9
+
- Windows Operating System.
10
+
-[Visual Studio 2026](https://visualstudio.microsoft.com/downloads/) (or Visual Studio 2022 version 17.14.17 and newer).
11
11
-[.NET desktop development workload](/visualstudio/install/modify-visual-studio?view=visualstudio&preserve-view=true#change-workloads-or-individual-components) with the following optional components enabled:
12
12
13
13
- GitHub Copilot
14
14
- GitHub Copilot app modernization for .NET
15
15
16
-
- Copilot license and supported subscription plan:
16
+
-GitHub Copilot Subscription (paid or free).
17
17
18
-
[Sign in to Visual Studio using a GitHub account](/visualstudio/ide/work-with-github-accounts) with [Copilot access](https://docs.github.com/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot).
19
-
20
-
Supported subscription plans:
21
-
22
-
- Copilot Pro
23
-
- Copilot Pro+
24
-
- Copilot Business
25
-
- Copilot Enterprise
18
+
-[Signed in to Visual Studio using a GitHub account](/visualstudio/ide/work-with-github-accounts) with [Copilot access](https://docs.github.com/copilot/get-started/plans#ready-to-choose-a-plan).
26
19
27
20
> [!IMPORTANT]
28
21
> If you change subscriptions, you must restart Visual Studio.
0 commit comments