Skip to content

Commit 9a1d948

Browse files
committed
update code folder name
1 parent a7fc67e commit 9a1d948

39 files changed

+25
-27
lines changed
Binary file not shown.

Instructions/Labs/m02-ghcopilot-document-explain.md

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -101,41 +101,39 @@ Your colleague has developed an initial version of the library application and h
101101

102102
- Download the zip file.
103103
- Extract the code files.
104-
- Ensure that the solution builds in your development environment.
104+
- Ensure that the solution builds in your lab environment.
105105

106106
Use the following steps to set up the library application:
107107

108-
1. To download the zip file containing your code project, select the following URL: [GitHub Copilot lab - Analyze and document code](https://github.com/MicrosoftLearning/mslearn-github-copilot-dev/raw/refs/heads/main/DownloadableCodeProjects/Downloads/AZ2007M2SamplesZip.zip)
108+
1. To download a zip file containing the library application, select the following URL: [GitHub Copilot lab - Analyze and document code](https://github.com/MicrosoftLearning/mslearn-github-copilot-dev/raw/refs/heads/main/DownloadableCodeProjects/Downloads/AZ2007LabAppM2.zip)
109109

110-
1. Unzip the downloaded project files.
110+
The zip file is named **AZ2007LabAppM2.zip**.
111111

112-
Unzip the code project in your development environment. For example:
112+
1. Extract the files from the **AZ2007LabAppM2.zip** file.
113113

114-
1. On your local machine, navigate to your downloads folder.
114+
For example:
115115

116-
1. Right-click **GuidedProjectApp.zip**, and then select **Extract all**.
116+
1. Navigate to the downloads folder in your lab environment.
117117

118-
1. Select **Show extracted files when complete**, and then select **Extract**.
118+
1. Right-click **AZ2007LabAppM2.zip**, and then select **Extract all**.
119119

120-
1. Make note of the extracted folder location.
120+
1. Select **Show extracted files when complete**, and then select **Extract**.
121121

122-
1. Copy the extracted **GuidedProjectApp** folder to a location that easy to access, such as your Windows Desktop folder.
122+
1. Open the extracted files folder, then copy the **AccelerateDevGHCopilot_M2** folder to a location that's easy to access, such as your Windows Desktop folder.
123123
124-
1. Open the **AccelerateDevGitHubCopilot** folder in Visual Studio Code.
124+
1. Open the **AccelerateDevGHCopilot_M2** folder in Visual Studio Code.
125125
126126
For example:
127127
128-
1. Open Visual Studio Code on your PC.
128+
1. Open Visual Studio Code in your lab environment.
129129
130130
1. In Visual Studio Code, on the **File** menu, select **Open Folder**.
131131
132-
1. Navigate to the Windows Desktop folder, open the **GuidedProjectApp** folder, and locate the **AccelerateDevGitHubCopilot** folder.
133-
134-
1. Select **AccelerateDevGitHubCopilot** and then select **Select Folder**.
132+
1. Navigate to the Windows Desktop folder, select **AccelerateDevGHCopilot_M2** and then select **Select Folder**.
135133
136134
1. In the Visual Studio Code SOLUTION EXPLORER view, verify the following solution structure:
137135
138-
- AccelerateDevGitHubCopilot\
136+
- AccelerateDevGHCopilot_M2\
139137
- src\
140138
- Library.ApplicationCore\
141139
- Library.Console\
@@ -145,17 +143,17 @@ Use the following steps to set up the library application:
145143
146144
1. Ensure that the solution builds successfully.
147145
148-
For example, in the SOLUTION EXPLORER view, right-click **AccelerateDevGitHubCopilot**, and then select **Build**.
146+
For example, in the SOLUTION EXPLORER view, right-click **AccelerateDevGHCopilot_M2**, and then select **Build**.
149147
150-
You'll see several Warnings, but there shouldn't be any Errors.
148+
You'll see some Warnings, but there shouldn't be any Errors.
151149
152150
## Use GitHub Copilot to explain the library application codebase
153151
154152
It's important to understand an application's architecture and key features before documenting the project. GitHub Copilot can help you to understand an unfamiliar codebase by generating explanations at the solution and feature levels.
155153
156154
Use the following steps to complete this section of the exercise:
157155
158-
1. Ensure that you have the `AccelerateDevGitHubCopilot` solution open in Visual Studio Code.
156+
1. Ensure that you have the `AccelerateDevGHCopilot_M2` solution open in Visual Studio Code.
159157
160158
1. Open the Chat view, and then enter a prompt that uses GitHub Copilot's `@workspace` participant to generate a description of the project.
161159

@@ -192,7 +190,7 @@ Use the following steps to complete this section of the exercise:
192190
193191
Additionally, there are unit tests located in the UnitTests directory, which test the functionality of the core services using the NSubstitute mocking framework and xUnit.
194192
195-
The project uses .NET 8.0 and is configured to build and test using GitHub Actions as defined in the build-test.yml file. The solution file is AccelerateDevGitHubCopilot.sln, which includes all the projects and their configurations.
193+
The project uses .NET 8.0 and is configured to build and test using GitHub Actions as defined in the build-test.yml file. The solution file is AccelerateDevGHCopilot_M2.sln, which includes all the projects and their configurations.
196194
```
197195

198196
1. Use the Solution Explorer view to expand the project folders.
@@ -399,7 +397,7 @@ Use the following steps to complete this section of the exercise:
399397
400398
1. Select **Publish to GitHub**.
401399
402-
1. Accept the default name for the repository (AccelerateDevGitHubCopilotSelect) and select **Publish to GitHub private repository**.
400+
1. Name for the repository **AccelerateDevGHCopilot** and then select **Publish to GitHub private repository**.
403401
404402
> [!NOTE]
405403
> If you're not signed in to GitHub in Visual Studio Code, you'll be prompted to sign in. Once you're signed in, authorize Visual Studio Code with the requested permissions.
@@ -412,15 +410,15 @@ Use the following steps to complete this section of the exercise:
412410
413411
1. Switch to the browser window for your GitHub account.
414412
415-
1. Open the new AccelerateDevGitHubCopilot repository in your GitHub account.
413+
1. Open the new AccelerateDevGHCopilot repository in your GitHub account.
416414
417-
If you don't see your AccelerateDevGitHubCopilot repository, refresh the page. If you still don't see the repository, try the following steps:
415+
If you don't see your AccelerateDevGHCopilot repository, refresh the page. If you still don't see the repository, try the following steps:
418416
419417
1. Switch to Visual Studio Code.
420418
1. Open your notifications (a notification was generated when the new repository was published).
421419
1. Select **Open on GitHub** to open your repository.
422420
423-
1. On the Code tab of your AccelerateDevGitHubCopilot repository, select **Add a README**.
421+
1. On the Code tab of your AccelerateDevGHCopilot repository, select **Add a README**.
424422
425423
1. In the README.md editor, type **Coming soon** and then select **Commit changes**.
426424
@@ -432,7 +430,7 @@ Use the following steps to complete this section of the exercise:
432430
433431
The Views and More Actions menu can be opened using the ellipsis in the top-right corner of the Source Control view.
434432
435-
1. Open the Explorer view (not Solution Explorer), and then expand the **AccelerateDevGitHubCopilot** folder.
433+
1. Open the Explorer view (not Solution Explorer), and then expand the **AccelerateDevGHCopilot_M2** folder.
436434
437435
1. Open the README.md file.
438436
@@ -484,7 +482,7 @@ Use the following steps to complete this section of the exercise:
484482
Library App is a console-based application for managing library operations such as patron management, book loans, and membership renewals. It uses a JSON-based data storage system and provides various services to handle library functionalities.
485483
486484
## Project Structure
487-
- AccelerateDevGitHubCopilot.sln
485+
- AccelerateDevGHCopilot_M2.sln
488486
- README.md
489487
- src
490488
- `Library.ApplicationCore/`
@@ -565,7 +563,7 @@ Use the following steps to complete this section of the exercise:
565563
566564
## Usage
567565
1. Clone the repository.
568-
2. Open the solution file AccelerateDevGitHubCopilot.sln in Visual Studio.
566+
2. Open the solution file AccelerateDevGHCopilot_M2.sln in Visual Studio.
569567
3. Build the solution to restore dependencies.
570568
4. Run the `Library.Console` project to start the console application.
571569
5. Follow the on-screen instructions to search for patrons, view patron details, extend loans, return books, and renew memberships.
@@ -594,7 +592,7 @@ Use the following steps to complete this section of the exercise:
594592
595593
To check your work, complete the following steps:
596594
597-
1. Open the GitHub repository for the AccelerateDevGitHubCopilot project.
595+
1. Open the GitHub repository for the AccelerateDevGHCopilot_M2 project.
598596
599597
1. Use the **Code** tab to review the updated README.md file.
600598

0 commit comments

Comments
 (0)