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: articles/dev-box/how-to-use-copilot-generate-image-definition-file.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom:
11
11
- ai-gen-title
12
12
- ai-seo-date:05/12/2025
13
13
- ai-gen-description
14
-
ms.topic: concept-article
14
+
ms.topic: how-to
15
15
ms.date: 05/12/2025
16
16
---
17
17
@@ -48,21 +48,21 @@ Before you start, ensure you install the following software:
48
48
49
49
Open Extensions (Ctrl+Shift+X), search for **Dev Box**, and install the extension.
50
50
51
-
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/image1.png" alt-text="Screenshot of the Extensions pane in Visual Studio Code, showing the Dev Box extension.":::
51
+
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/dev-box-extension.png" alt-text="Screenshot of the Extensions pane in Visual Studio Code, showing the Dev Box extension.":::
52
52
53
-
1. Make sure agent mode is enabled by setting [chat.agent.enabled](vscode://settings/chat.agent.enabled) in the [Settings editor](https://code.visualstudio.com/docs/getstarted/personalize-vscode#_configure-settings). This requires VS Code 1.99 or later.
53
+
1. Make sure agent mode is enabled by setting [chat.agent.enabled](vscode://settings/chat.agent.enabled) in the [Settings editor](https://code.visualstudio.com/docs/getstarted/personalize-vscode#_configure-settings). This setting requires VS Code 1.99 or later.
54
54
55
55
1. Open Copilot Chat in VS Code.
56
56
57
57
- Make sure **Dev Box tools** are preselected under "Select tools."
58
58
59
-
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/image2.png" alt-text="Screenshot of the Copilot Chat pane in Visual Studio Code, showing Dev Box tools preselected.":::
59
+
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/dev-box-extension-tools.png" alt-text="Screenshot of the Copilot Chat pane in Visual Studio Code, showing Dev Box tools preselected.":::
60
60
61
-
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/image3.png" alt-text="Screenshot of the Copilot Chat interface in Visual Studio Code.":::
61
+
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/dev-box-extension-tools-list.png" alt-text="Screenshot of the Copilot Chat interface in Visual Studio Code.":::
62
62
63
63
- Select **Agent Mode**, and choose the model: **Claude 3.5 Sonnet**.
64
64
65
-
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/image4.png" alt-text="Screenshot of the Agent Mode selection in Copilot Chat, showing the Claude 3.5 Sonnet model.":::
65
+
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/dev-box-extension-select-agent.png" alt-text="Screenshot of the Agent Mode selection in Copilot Chat, showing the Claude 3.5 Sonnet model.":::
66
66
67
67
1.**Provide natural language prompts**, such as:
68
68
@@ -101,7 +101,7 @@ Perform these steps **within a Dev Box** instance.
101
101
102
102
- Confirm the User Account Control (UAC) prompt to install tools and apply settings.
103
103
104
-
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/image5.png" alt-text="Screenshot of the Apply Customization Tasks option in Visual Studio Code.":::
104
+
:::image type="content" source="media/how-to-use-copilot-generate-image-definition-file/dev-box-extension-apply-customization-tasks.png" alt-text="Screenshot of the Apply Customization Tasks option in Visual Studio Code.":::
105
105
106
106
## Save and configure the project to use the image definition
107
107
@@ -111,6 +111,10 @@ After your imagedefinition.yaml is ready:
111
111
112
112
1. Attach the repository as a catalog to your project.
113
113
114
+
- This step is necessary to make the imagedefinition.yaml available for use in your Dev Box pool.
115
+
116
+
- For more information, see [Add and configure a catalog from GitHub or Azure Repos](../deployment-environments/how-to-configure-catalog.md).
117
+
114
118
1. Configure a Dev Box pool using the generated imagedefinition.yaml:
115
119
116
120
- Go to **Dev Box Pools** in your project.
@@ -119,10 +123,13 @@ After your imagedefinition.yaml is ready:
119
123
120
124
- Select the image definition created from your imagedefinition.yaml.
121
125
122
-
This ensures that every Dev Box created from this pool uses the ready-to-code configuration.
126
+
- For more information, see [Manage a dev box pool in Microsoft Dev Box](how-to-manage-dev-box-pools.md).
127
+
128
+
This method ensures that every Dev Box created from this pool uses the ready-to-code configuration.
123
129
124
130
This AI-powered workflow streamlines the process of setting up Dev Box customizations, letting platform engineers and dev managers create reusable, consistent environments with minimal effort.
0 commit comments