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
Remoting is used for communicating across application domains, which are no longer supported. For simple communication across processes, consider inter-process communication (IPC) mechanisms as an alternative to remoting, such as the <xref:System.IO.Pipes> class or the <xref:System.IO.MemoryMappedFiles.MemoryMappedFile> class. For more complex scenarios, consider frameworks such as [StreamJsonRpc](https://github.com/microsoft/vs-streamjsonrpc) or [ASP.NET Core](/aspnet/core) (either using [gRPC](/aspnet/core/grpc) or [RESTful Web API services](/aspnet/core/web-api)).
80
80
81
-
Because remoting isn't supported, calls to `BeginInvoke()` and `EndInvoke()` on delegate objects will throw `PlatformNotSupportedException`.
81
+
Because remoting isn't supported, calls to `BeginInvoke()` and `EndInvoke()` on delegate objects throw `PlatformNotSupportedException`.
@@ -123,36 +123,30 @@ Instead of manually porting an application from .NET Framework to .NET, you can
123
123
124
124
Even if you use a tool to help port your application, you should review the [Considerations when porting section](#considerations-when-porting) in this article.
125
125
126
-
### GitHub Copilot App Modernization – Upgrade for .NET
126
+
### GitHub Copilot app modernization assistant
127
127
128
-
[GitHub Copilot App Modernization – Upgrade for .NET](github-copilot-app-modernization-overview.md) is a Visual Studio extension that helps you upgrade projects to newer versions of .NET, update dependencies, and apply code fixes. It leverages GitHub Copilot to provide an interactive upgrade experience.
128
+
[GitHub Copilot app modernization](github-copilot-app-modernization-overview.md) is a GitHub Copilot chat assistant helps you plan and upgrade projects to newer versions of .NET, migrate to Azure, update dependencies, and apply code fixes. Azure migration is powered by [Application and code assessment for .NET](../../azure/migration/appcat/app-code-assessment-toolkit.md)
129
129
130
-
This tool supports the following upgrade paths:
130
+
This chat assistant supports the following upgrade paths:
131
131
132
-
- Upgrade projects from .NET Core to .NET.
133
-
- Upgrade projects from older versions of .NET to the latest.
134
-
- Modernize your code base.
132
+
- Upgrade projects from older .NET versions to the latest.
133
+
- Upgrade projects from .NET Framework to the latest version of .NET.
134
+
- Modernize your code base with new features.
135
+
- Migrate components and services to Azure.
135
136
136
-
**When to use:**
137
-
138
-
Use GitHub Copilot App Modernization – Upgrade for .NET for scenarios where you want to upgrade your .NET project code and dependencies to newer versions of .NET using an AI-powered tool.
139
-
140
-
### GitHub Copilot app modernization for .NET
141
-
142
-
GitHub Copilot app modernization for .NET (Preview) helps you migrate .NET applications to Azure efficiently and confidently. Powered by GitHub Copilot and [Application and code assessment for .NET](../../azure/migration/appcat/app-code-assessment-toolkit.md), it guides you through assessment, solution recommendations, code fixes, and validation—all within a single tool.
143
-
144
-
With this assistant, you can:
137
+
It also works on various project types, such as:
145
138
146
-
- Assess your application's code, configuration, and dependencies.
147
-
- Plan and set up the right Azure resources.
148
-
- Fix issues and apply best practices for cloud migration.
149
-
- Validate that your app builds and tests successfully.
150
-
151
-
For more details, see the [GitHub Copilot app modernization for .NET overview](upgrade-assistant-overview.md).
139
+
- ASP.NET and related technologies such as MVC, Razor Pages, Web API
140
+
- Blazor
141
+
- Azure Functions
142
+
- Windows Presentation Foundation
143
+
- Windows Forms
144
+
- Class libraries
145
+
- Console apps
152
146
153
147
**When to use:**
154
148
155
-
Use the GitHub Copilot app modernization for .NET (Preview) experience for scenarios where you need end to end assessment, planning, and remediation for migrating your .NET apps to Azure.
149
+
Use GitHub Copilot app modernization when you want an AI-powered, end-to-end experience to upgrade .NET Framework projects and dependencies to modern .NET—covering assessment, planning, remediation, and guidance for migrating applications to Azure.
156
150
157
151
### Application and Code Assessment for .NET
158
152
@@ -196,7 +190,7 @@ For more information, see [Platform compatibility analyzer](../../standard/analy
196
190
197
191
When porting your application to .NET, consider the following suggestions in order:
198
192
199
-
✔️ CONSIDER using the [.NET Upgrade Assistant](upgrade-assistant-overview.md) to migrate your projects. Even though this tool is in preview, it automates most of the manual steps detailed in this article and gives you a great starting point for continuing your migration path.
193
+
✔️ CONSIDER using the [GitHub Copilot app modernization](github-copilot-app-modernization-overview.md) to migrate your projects. GitHub Copilot is powerful at identifying and fixing incompatibilities when porting. It automates most of the manual steps detailed in this article and gives you a great starting point for continuing your migration path.
200
194
201
195
✔️ CONSIDER examining your dependencies first. Your dependencies must target .NET, .NET Standard, or .NET Core.
202
196
@@ -208,16 +202,16 @@ When porting your application to .NET, consider the following suggestions in ord
208
202
209
203
✔️ CONSIDER targeting .NET 8, which is a long-term support (LTS) release.
210
204
211
-
✔️ DO target .NET 6+ for **Windows Forms and WPF** projects. .NET 6 and later versions contain many improvements for Desktop apps.
205
+
✔️ DO target .NET 8+ for **Windows Forms and WPF** projects. .NET 8 and later versions contain many improvements for Desktop apps.
212
206
213
207
✔️ CONSIDER targeting .NET Standard 2.0 if you're migrating a library that might also be used with .NET Framework projects. You can also multitarget your library, targeting both .NET Framework and .NET Standard.
214
208
215
209
✔️ DO add reference to the [Microsoft.Windows.Compatibility NuGet package](https://www.nuget.org/packages/Microsoft.Windows.Compatibility) if, after migrating, you get errors of missing APIs. A large portion of the .NET Framework API surface is available to .NET via the NuGet package.
216
210
217
211
## See also
218
212
219
-
-[Overview of the .NET Upgrade Assistant](upgrade-assistant-overview.md)
213
+
-[What is GitHub Copilot app modernization](github-copilot-app-modernization-overview.md)
220
214
-[ASP.NET to ASP.NET Core migration](/aspnet/core/migration/proper-to-2x)
221
-
-[How to upgrade a WPF desktop app to .NET](/dotnet/desktop/wpf/migration/)
222
-
-[Migrate .NET Framework Windows Forms apps to .NET](/dotnet/desktop/winforms/migration/)
223
-
-[.NET 5 vs. .NET Framework for server apps](../../standard/choosing-core-framework-server.md)
215
+
-[Upgrade a WPF desktop app to .NET](/dotnet/desktop/wpf/migration/)
216
+
-[Upgrade a Windows Forms app to .NET](/dotnet/desktop/winforms/migration/)
217
+
-[.NET vs. .NET Framework for server apps](../../standard/choosing-core-framework-server.md)
Copy file name to clipboardExpand all lines: docs/core/porting/github-copilot-app-modernization-faq.yml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ metadata:
10
10
11
11
title: GitHub Copilot app modernization FAQ
12
12
summary: |
13
-
GitHub Copilot app modernization is an interactive GitHub Copilot agent that adds powerful upgrade capabilities to Visual Studio. This article answers frequently asked questions. For more information about the tool, see [What is GitHub Copilot app modernization?](github-copilot-app-modernization-overview.md).
13
+
GitHub Copilot app modernization is an interactive GitHub Copilot agent that adds powerful upgrade capabilities to Visual Studio. This article answers frequently asked questions. For more information about the tool, see [What is GitHub Copilot app modernization](github-copilot-app-modernization-overview.md).
14
14
15
15
The tool requires one of the following GitHub Copilot subscriptions:
16
16
@@ -24,7 +24,7 @@ sections:
24
24
questions:
25
25
- question: What can the agent do?
26
26
answer: |
27
-
Currently, GitHub Copilot app modernization helps you upgrade your .NET projects to newer versions of .NET. The agent is an extension for Visual Studio that performs the following steps in a GitHub Copilot chat session:
27
+
Currently, GitHub Copilot app modernization helps you upgrade your .NET (.NET, .NET Core, and .NET Framework) projects to newer versions of .NET. It also helps migrate services to Azure. It also upgrades dependencies and fixes errors in the code post-migration. The agent performs the following steps in a GitHub Copilot chat session:
28
28
29
29
- Analyzes your projects and proposes an upgrade plan.
30
30
- According to the plan, runs a series of tasks to upgrade your projects.
@@ -35,9 +35,7 @@ sections:
35
35
36
36
- question: What can the agent upgrade?
37
37
answer: |
38
-
GitHub Copilot app modernization currently focuses on migrating your projects from one version of .NET to another. For example, upgrading from .NET Core 3.1 or .NET 6, to .NET 9. It also upgrades dependencies and fixes errors in the code post-migration.
39
-
40
-
Besides upgrading the target framework, the agent can work with the following types of projects:
38
+
GitHub Copilot app modernization helps you upgrade your .NET projects or migrate them to Azure. Besides upgrading the target framework, the agent can work with the following types of projects:
41
39
42
40
- Azure Functions.
43
41
- Console apps and class libraries.
@@ -71,6 +69,10 @@ sections:
71
69
72
70
However, the agent does have some adaptability within a session. If you manually adjust a fix, it learns from that interaction in the short term and applies similar corrections if it encounters the same issue again. Think of it as refining its approach within the scope of that upgrade. We never store a user's codebase and never use your code for training the model. Once an upgrade is complete, session data is deleted and not stored.
73
71
72
+
- question: Can I provide feedback?
73
+
answer: |
74
+
Yes! Use the [Suggest a feature](/visualstudio/ide/suggest-a-feature) and [Report a Problem](/visualstudio/ide/report-a-problem) features of in Visual Studio to provide feedback.
Copy file name to clipboardExpand all lines: docs/core/porting/github-copilot-app-modernization-overview.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,21 @@ This process streamlines modernization and boosts developer productivity and con
20
20
With this assistant, you can:
21
21
22
22
- Upgrade to a newer version of .NET.
23
-
- Migrate technolgies to Azure.
23
+
- Migrate technologies to Azure.
24
24
- Modernize your .NET app, especially when upgrading from .NET Framework.
25
25
- Assess your application's code, configuration, and dependencies.
26
26
- Plan and set up the right Azure resource.
27
27
- Fix issues and apply best practices for cloud migration.
28
28
- Validate that your app builds and tests successfully.
29
29
30
+
## Feedback
31
+
32
+
Feedback is important to Microsoft and the efficiency of this agent. Use the [Suggest a feature](/visualstudio/ide/suggest-a-feature) and [Report a Problem](/visualstudio/ide/report-a-problem) features of in Visual Studio to provide feedback.
33
+
30
34
## Prerequisites
31
35
32
36
- Windows Operating System
33
-
-[Visual Studio 2022 version 17.14.16 or newer](https://visualstudio.microsoft.com/downloads/)—or—[Visual Studio 2026 Insiders Preview 2 or newer](https://visualstudio.microsoft.com/insiders)
37
+
-[Visual Studio 2022 version 17.14.16 or newer](https://visualstudio.microsoft.com/downloads/) (To be released).
34
38
-[.NET desktop development workload](/visualstudio/install/modify-visual-studio?view=vs-2022&preserve-view=true#change-workloads-or-individual-components) with the following optional components enabled:
35
39
36
40
- GitHub Copilot
@@ -100,7 +104,7 @@ You can adjust the plan by editing the Markdown file to change the upgrade steps
100
104
101
105
### Perform the upgrade or migration
102
106
103
-
Once an plan is ready, tell Copilot to start using it. Once the 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.
107
+
Once a plan is ready, tell Copilot to start using it. Once the 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.
104
108
105
109
If it runs into a problem, Copilot tries to identify the cause of a problem and apply a fix. If Copilot can't seem to correct the problem, it asks for your help. When you intervene, Copilot learns from the changes you make and tries to automatically apply them for you, if the problem is encountered again.
> Try the [GitHub Copilot app modernization chat agent](github-copilot-app-modernization-overview.md). This agent analyzes your projects and dependencies, produces a step-by-step migration plan with targeted recommendations and automated code fixes, and commits each change so you can validate or roll back. It automates common porting tasks—updating project files, replacing deprecated APIs, and resolving build issues—so you can modernize faster with less manual effort. For more information, see [What is GitHub Copilot app modernization](github-copilot-app-modernization-overview.md).
Copy file name to clipboardExpand all lines: docs/core/porting/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ It also increases developer productivity by enabling newer SDKs, templates, and
28
28
29
29
It's important to keep your developer tools up-to-date as each new release addresses security vulnerabilities and provides compatibility with new technologies.
30
30
31
-
## Use GitHub Copilot Modernization agent
31
+
## Use GitHub Copilot app modernization agent
32
32
33
-
The GitHub Copilot Modernization agent provides an AI-assisted, end-to-end experience to speed porting and modernization work. The agent analyzes your project and writes a plan to complete your desired upgrade. You can adjust and iterate on the plan, then perform the upgrades. With this assistant, you can:
33
+
The GitHub Copilot app modernization agent provides an AI-assisted, end-to-end experience to speed porting and modernization work. The agent analyzes your project and writes a plan to complete your desired upgrade. You can adjust and iterate on the plan, then perform the upgrades. With this assistant, you can:
34
34
35
35
- Upgrade projects to a newer .NET version.
36
36
- Assess your application's code, configuration, and dependencies.
@@ -40,4 +40,4 @@ The GitHub Copilot Modernization agent provides an AI-assisted, end-to-end exper
40
40
- Fix issues and apply cloud-migration best practices.
41
41
- Validate that your app builds and that tests pass.
42
42
43
-
Use the GitHub Copilot Modernization agent when you want a guided, AI-powered path to assess, remediate, and modernize codebases—particularly for projects that have many dependencies, rely on Windows-specific APIs, or when you plan to containerize or migrate services to the cloud.
43
+
Use the GitHub Copilot app modernization agent when you want a guided, AI-powered path to assess, remediate, and modernize codebases—particularly for projects that have many dependencies, rely on Windows-specific APIs, or when you plan to containerize or migrate services to the cloud.
Copy file name to clipboardExpand all lines: docs/core/porting/modernize.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,7 @@ ms.custom: sfi-ropc-nochange
10
10
11
11
# Modernize after upgrading to .NET from .NET Framework
12
12
13
-
In this article, you'll learn about different ways you can modernize your app after it's been upgraded from .NET Framework to .NET. Use the [.NET Upgrade Assistant](upgrade-assistant-overview.md) tool to upgrade your app to .NET.
14
-
15
-
> [!TIP]
16
-
> You can use GitHub Copilot to modernize your application after migrating from .NET Framework. For more information, see [What is GitHub Copilot app modernization?](github-copilot-app-modernization-overview.md).
13
+
In this article, you'll learn about different ways you can modernize your app after it's been upgraded from .NET Framework to .NET. Use the [GitHub Copilot app modernization](github-copilot-app-modernization-overview.md) assistant to upgrade your app to .NET.
17
14
18
15
## Missing APIs
19
16
@@ -29,7 +26,7 @@ Projects that target a Windows desktop technology, such as Windows Presentation
29
26
30
27
## App.config
31
28
32
-
.NET Framework uses the _App.config_ file to load settings for your app, such as connection strings and log provider configuration. Modern .NET uses the _appsettings.json_ file for app settings. The CLI version of the Upgrade Assistant handles converting _App.config_ files to _appsettings.json_, but the Visual Studio extension doesn't.
29
+
.NET Framework uses the _App.config_ file to load settings for your app, such as connection strings and log provider configuration. Modern .NET uses the _appsettings.json_ file for app settings.
33
30
34
31
> [!TIP]
35
32
> If you don't want to use the _appsettings.json_ file, you can add the `System.Configuration.ConfigurationManager` NuGet package to your app and your code will compile and use the _App.config_ file.
Copy file name to clipboardExpand all lines: docs/core/porting/porting-approaches.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
@@ -3,20 +3,20 @@ title: Porting approaches
3
3
description: Create a porting plan that best reflects your project and context.
4
4
author: StephenBonikowsky
5
5
ms.author: stebon
6
-
ms.date: 06/10/2021
6
+
ms.date: 09/15/2025
7
7
---
8
8
# Create a porting plan
9
9
10
-
We recommend using the Visual Studio [.NET Upgrade Assistant](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.upgradeassistant) to update .NET Framework code to the latest .NET versions. For more information see the blog [Upgrading your .NET projects with Visual Studio](https://devblogs.microsoft.com/dotnet/upgrade-assistant-now-in-visual-studio/).
11
-
12
-
[!INCLUDE[](~/includes/deprecating-api-port.md)]
13
-
14
10
Before you jump straight into the code, take the time to go through the recommended pre-migration steps. This article gives you insight into the kinds of issues you may come across, and helps you decide on an approach that makes the most sense.
Make sure that you follow the [prerequisites to porting code](premigration-needed-changes.md) before you continue any further. Be ready to decide on the best approach for you and begin porting code.
Copy file name to clipboardExpand all lines: docs/core/porting/premigration-needed-changes.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ ms.date: 06/10/2021
9
9
10
10
Make the needed changes to build and run a .NET application before beginning the work to port your code. These changes can be done while still building and running a .NET Framework application.
Upgrade to a version of MSBuild/Visual Studio that supports the version of .NET you will be targeting. See [Versioning relationship between the .NET SDK, MSBuild and VS](versioning-sdk-msbuild-vs.md) for more info.
0 commit comments