Skip to content

Commit 3fe5264

Browse files
committed
Enhance instructions for .NET version compatibility and database provider selection in ContosoDashboard setup
1 parent 329cda9 commit 3fe5264

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

Instructions/Labs/LAB_AK_13_implement-spec-driven-development.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ Use the following steps to complete this task:
236236
237237
1. Open the **ContosoDashboard/ContosoDashboard.csproj** file in the editor.
238238
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.
240243
241244
1. Ensure that the ContosoDashboard.csproj file specifies the .NET version installed in your development environment.
242245
@@ -246,6 +249,24 @@ Use the following steps to complete this task:
246249
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?
247250
```
248251
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+
249270
1. In the EXPLORER view, right-click **ContosoDashboard** and then select **Open in Integrated Terminal**.
250271
251272
The terminal prompt should open in the ContosoDashboard project directory. For example:

0 commit comments

Comments
 (0)