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
title: Containerization your project using GitHub Copilot app modernization for .NET
2
+
title: Containerize your project using GitHub Copilot app modernization for .NET
3
3
description: Learn how to containerize your .NET project using GitHub Copilot app modernization for .NET.
4
4
ms.topic: quickstart
5
5
ms.custom: devx-track-dotnet
6
6
ms.date: 09/17/2025
7
7
author: JiDong
8
8
ms.author: donji
9
+
ai-usage: ai-assisted
9
10
---
10
11
11
-
# Containerization your project using GitHub Copilot app modernization for .NET
12
+
# Containerize your project using GitHub Copilot app modernization for .NET
12
13
13
-
In this quickstart, you learn how to to containerize your project using [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace).
14
-
This tool helps you generate dockerfile and build docker image.
14
+
In this quickstart, you learn how to containerize your project using [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace).
15
+
This tool helps you generate Dockerfile and build Docker images.
15
16
16
17
## Prerequisites
17
18
18
-
19
19
Before you begin, ensure you have the following prerequisites:
20
20
21
21
- A GitHub account with [GitHub Copilot](https://github.com/features/copilot) enabled (Pro, Pro+, Business, or Enterprise plan required)
@@ -24,9 +24,9 @@ Before you begin, ensure you have the following prerequisites:
24
24
25
25
### Sign in to GitHub Copilot
26
26
27
-
GitHub Copilot is required for the App Modernization extension. Make sure you're signed-in to GitHub Copilot inside Visual Studio:
27
+
GitHub Copilot is required for the App Modernization extension. Make sure you're signedin to GitHub Copilot in Visual Studio:
28
28
29
-
1. Select the Copilot icon at the top of Visual Studio to open the GitHub Copilot pane.
29
+
1. Select the **Copilot** icon at the top of Visual Studio to open the GitHub Copilot pane.
30
30
1. Follow the UI prompts to sign in to Copilot.
31
31
32
32
For more information, see [Set up GitHub Copilot in Visual Studio](/visualstudio/ide/visual-studio-github-copilot-install-and-states).
@@ -35,43 +35,43 @@ For more information, see [Set up GitHub Copilot in Visual Studio](/visualstudio
35
35
36
36
To complete the steps in this quickstart, you need to install the GitHub Copilot app modernization for .NET (Preview) Visual Studio extension:
37
37
38
-
1.Inside Visual Studio, navigate to **Extensions** > **Manage Extensions**.
38
+
1.In Visual Studio, go to **Extensions** > **Manage Extensions**.
39
39
1. Search for **GitHub Copilot app modernization for .NET** in the marketplace.
40
40
1. On the extension page, select **Install**.
41
41
1. Follow the notification bar prompts to close Visual Studio and complete the installation.
42
-
1.Relaunch Visual Studio after installation.
42
+
1.Restart Visual Studio after installation.
43
43
44
44
You can also view the [GitHub Copilot app modernization for .NET (Preview)](https://aka.ms/appmod-dotnet-marketplace) extension directly in the extension marketplace.
45
45
46
46
For more information, see [Find, install, and manage extensions for Visual Studio](/visualstudio/ide/finding-and-using-visual-studio-extensions).
47
47
48
48
## Containerize your project
49
49
50
-
The App Modernization for .NET containerization feature helps you containerize your project. Follow these step to start the containerization process:
50
+
The App Modernization for .NET containerization feature helps you containerize your project. Follow these steps to start the containerization process:
51
51
52
52
1. In Visual Studio, open your project.
53
53
54
54
1. Start containerization using one of the following approaches:
55
55
56
-
-**Conatinerize from Assessment Report**: From the assessment report, click on "Run Task" for the Docker Containerization issue.
56
+
-**Containerize from Assessment Report**: From the assessment report, select **Run Task** for the Docker Containerization issue.
57
57
58
-
:::image type="content" source="media/containerize-assessment-report.png" alt-text="Screenshot showing containerization task in assessment report.":::
58
+
:::image type="content" source="media/containerize-assessment-report.png" alt-text="Screenshot that shows containerization task in assessment report.":::
59
59
60
60
-**Use a containerization prompt**: You can input the following prompt in Copilot chat to containerize your project:
61
61
62
62
*Scan my project and help me plan how to containerize my application using the #appmod-get-containerization-plan tool. Execute the plan. The end goal is to have Dockerfiles that are able to be built.*
63
63
64
-
:::image type="content" source="media/containerization-prompt.png" alt-text="Screenshot showing how to start the containerization process in GitHub Copilot using a prompt.":::
64
+
:::image type="content" source="media/containerization-prompt.png" alt-text="Screenshot that shows how to start the containerization process in GitHub Copilot using a prompt.":::
65
65
66
66
1. After you start the process, GitHub Copilot might ask for your approval to use tools or run commands. Grant permission when prompted.
67
67
68
68
1. GitHub Copilot analyzes your project and generates a plan. The plan includes a breakdown of your project and execution steps for containerizing your project.
69
69
70
-
1. GitHub Copilot follows the execution steps to generate Dockerfile and validate your docker image can be built successfully.
70
+
1. GitHub Copilot follows the execution steps to generate Dockerfile and validate that your Docker image can be built successfully.
71
71
72
-
1. Once GitHub Copilot finishes the containerizing your project, it will provide a summary of what it did.
72
+
1. Once GitHub Copilot finishes containerizing your project, it provides a summary of what it did.
73
73
74
74
## Notes
75
75
76
76
- We recommend using Claude Sonnet 4 or later models for the best results.
77
-
-It might take Copilot a few iterations to correct containerization errors.
77
+
-Copilot might take a few iterations to correct containerization errors.
0 commit comments