Skip to content

Commit 707be16

Browse files
Update .NET 9 SDK instructions and performance metrics
- Changed installation instructions to use `--channel 9.0`. - Updated verification step to require .NET version 9.0.103 or later. - Corrected main solution file name to reflect .slnx format. - Reduced AppHost build time from 45+ minutes to 5+ minutes. - Clarified requirement for private Azure DevOps feeds with anonymous access. - Updated performance expectations for full AppHost build time.
1 parent fe6d8cd commit 707be16

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/copilot-instructions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ Always reference these instructions first and fallback to search or bash command
77
## Working Effectively
88

99
### Prerequisites
10-
- Install .NET 9 SDK: `curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 9.0.103`
10+
- Install .NET 9 SDK: `curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 9.0`
1111
- Install .NET 8 runtime for multi-targeted tests: `curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 8.0 --runtime dotnet`
1212
- Set PATH: `export PATH="$HOME/.dotnet:$PATH"`
13-
- Verify installation: `dotnet --version` should show 9.0.103
13+
- Verify installation: `dotnet --version` should show 9.0.103 or later
1414

1515
### Build Individual Solutions
1616
The repository contains multiple solution files that can be built independently:
1717

1818
- `dotnet build src/Codebreaker.Analyzers.sln` -- takes 9 seconds. NEVER CANCEL. Set timeout to 20+ seconds.
1919
- `dotnet build src/Codebreaker.Backend.Models.sln` -- takes 7 seconds. NEVER CANCEL. Set timeout to 20+ seconds.
20+
- `dotnet build src/Codebreaker.Backend.slnx` -- main solution
2021
- `dotnet build src/Codebreaker.GameAPIs.Client.sln` -- takes 10 seconds. NEVER CANCEL. Set timeout to 20+ seconds.
2122
- `dotnet build src/Codebreaker.Backend.Cosmos.sln` -- library solution
2223
- `dotnet build src/Codebreaker.Backend.SqlServer.sln` -- library solution
@@ -37,7 +38,7 @@ Services can be run independently for development:
3738
- Services start quickly but require proper database configuration for full functionality
3839

3940
### Full Solution Build Limitations
40-
- The main solution `src/Codebreaker.Backend.slnx` is in .slnx format (not yet supported by .NET CLI)
41+
- The main solution `src/Codebreaker.Backend.slnx` is in .slnx format
4142
- Building the AppHost project requires private Azure DevOps feeds: `dotnet build src/services/host/Codebreaker.AppHost/Codebreaker.AppHost.csproj` -- takes 45+ minutes and requires Azure DevOps authentication. NEVER CANCEL. Set timeout to 60+ minutes.
4243
- Azure deployment requires `azd` CLI and Azure authentication
4344

@@ -114,7 +115,7 @@ src/
114115

115116
### Known Build Issues
116117
- Central Package Management requires proper setup
117-
- Private Azure DevOps feeds needed for full solution
118+
- Private Azure DevOps feeds with anonymous access needed for full solution
118119
- Some test projects may need package reference fixes
119120
- Docker/container builds require Azure authentication
120121

@@ -130,5 +131,5 @@ src/
130131
- Individual solution builds: 3-10 seconds
131132
- Individual solution tests: 4-8 seconds
132133
- Code formatting: 10 seconds
133-
- Full AppHost build: 45+ minutes (requires private feeds)
134+
- Full AppHost build: 5+ minutes (requires private feeds)
134135
- Service startup: 2-5 seconds

0 commit comments

Comments
 (0)