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: Instructions/Labs/LAB_AK_13_implement-spec-driven-development.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,10 @@ Use the following steps to complete this task:
236
236
237
237
1. Open the **ContosoDashboard/ContosoDashboard.csproj** file in the editor.
238
238
239
-
> **NOTE**: The ContosoDashboard application was developed using .NET 8. If .NET 8 isn't installed in your development environment, but you have .NET 9 or .NET 10 installed, the ContosoDashboard.csproj file must be updated to target the installed .NET version before you build and run the application.
239
+
Notice the following:
240
+
241
+
- The project file specifies .NET 8 as the target framework. If your development environment has a different .NET SDK version installed (.NET 9 or .NET 10), you need to update the project file to target the installed version.
242
+
- The project file includes a reference to SQL Server LocalDB for local development. If you're using a PC with an ARM processor, you need to switch from SQL Server LocalDB to SQLite for local development.
240
243
241
244
1. Ensure that the ContosoDashboard.csproj file specifies the .NET version installed in your development environment.
242
245
@@ -246,6 +249,24 @@ Use the following steps to complete this task:
246
249
I have the .NET 10 SDK installed. My project was written using .NET 8. Update the .csproj file for .NET 10 and ensure that the project builds correctly?
247
250
```
248
251
252
+
> **NOTE**: The ContosoDashboard application was developed using .NET 8. If the .NET 8 SDK isn't installed in your development environment, but you have the .NET 9 or .NET 10 SDK installed, the ContosoDashboard.csproj file must be updated to target the installed .NET version before you build and run the application.
253
+
254
+
1. Ensure that you're using the correct database provider for your development environment.
255
+
256
+
If you're using a PC with an ARM processor for your development environment, you need to switch from SQL Server LocalDB to SQLite for local development. The following files are affected by this change:
257
+
258
+
- ContosoDashboard.csproj: Update the database provider package reference.
259
+
- Program.cs: Update the database context configuration.
260
+
- appsettings.json: Update the connection string.
261
+
262
+
You can use GitHub Copilot to update the your project files (ContosoDashboard.csproj, Program.cs, and appsettings.json). For example, to update the codebase for SQLite, enter the following prompt in the Chat view:
263
+
264
+
```plaintext
265
+
My PC uses an ARM64 processor. I need you to update the codebase to use SQLite rather than SQL Server LocalDB.
266
+
```
267
+
268
+
> **NOTE**: If you're using a PC with an x64 processor or a Mac, you can skip this step since SQL Server LocalDB works correctly in those environments.
269
+
249
270
1. In the EXPLORER view, right-click **ContosoDashboard** and then select **Open in Integrated Terminal**.
250
271
251
272
The terminal prompt should open in the ContosoDashboard project directory. For example:
0 commit comments