Skip to content

Commit 24e8f39

Browse files
author
Eric Camplin
committed
LAB_AK_01 update for and C#
1 parent 6999896 commit 24e8f39

1 file changed

Lines changed: 34 additions & 2 deletions

File tree

Instructions/Labs/LAB_AK_01_examine_settings_interface.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ This exercise should take approximately **25** minutes to complete.
1414
1515
## Before you start
1616

17-
Your lab environment must include the following: Git 2.48 or later, .NET SDK 9.0 or later, Visual Studio Code with the C# Dev Kit extension, and access to a GitHub account with GitHub Copilot enabled.
17+
Your lab environment must include the following:
18+
19+
- Git 2.48 or later
20+
- Either .NET or Python:
21+
22+
- **.NET SDK 9.0** or later with Visual Studio Code with the **C# Dev Kit** extension.
23+
- **Python 3.10** or later with Visual Studio Code with the **Python** extension
24+
25+
- Access to a GitHub account with GitHub Copilot enabled.
1826

1927
If you're using a local PC as a lab environment for this exercise:
2028

@@ -28,13 +36,21 @@ If you're using a hosted lab environment for this exercise:
2836

2937
- Open a command terminal and then run the following commands:
3038

31-
To ensure that Visual Studio Code is configured to use the correct version of .NET, run the following command:
39+
To ensure that Visual Studio Code is configured to use the correct version of **.NET**, run the following command:
3240

3341
```bash
3442

3543
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
3644

3745
```
46+
47+
or
48+
49+
To ensure that Visual Studio Code is configured to use the correct version of Python, verify your Python installation is version 3.10 or later:
50+
51+
```bash
52+
python --version
53+
```
3854

3955
## Exercise scenario
4056

@@ -199,10 +215,18 @@ Use the following steps to complete this section of the exercise:
199215
200216
1. Use the Ask Copilot textbox to enter the following prompt, and then submit the prompt:
201217
218+
**For C#:**
219+
202220
```text
203221
Create a C# console app that prints Hello World to the console.
204222
```
205223
224+
**Or for Python:**
225+
226+
```text
227+
Create a Python console app that prints Hello World to the console.
228+
```
229+
206230
1. Notice that GitHub Copilot's response includes an interactive list of files and a **Create Workspace** button.
207231

208232
1. To have GitHub Copilot create the code project, select **Create Workspace**.
@@ -215,10 +239,18 @@ Use the following steps to complete this section of the exercise:
215239

216240
More advanced prompts can be used to create a workspace with multiple files or to create different project types. For example, you can use the following prompt specify additional conditions for the console app project:
217241

242+
**For C#:**
243+
218244
```text
219245
Create a C# console app that prints Hello World to the console. Include a .gitignore file.
220246
```
221247

248+
**Or for Python:**
249+
250+
```text
251+
Create a Python console app that prints Hello World to the console. Include a .gitignore file.
252+
```
253+
222254
### Explore the Quick Chat features
223255

224256
The Quick Chat window is a simplified interface for interacting with GitHub Copilot. It provides a quick way to ask questions, request code suggestions, or get help with specific tasks without leaving the code editor.

0 commit comments

Comments
 (0)