diff --git a/.github/agents/tests/codegen-pipeline.Tests.ps1 b/.github/agents/tests/codegen-pipeline.Tests.ps1 index deedeb0..c55bd9d 100644 --- a/.github/agents/tests/codegen-pipeline.Tests.ps1 +++ b/.github/agents/tests/codegen-pipeline.Tests.ps1 @@ -305,7 +305,7 @@ Describe 'nuget-metadata' { $csproj | Should -Match 'IntelliTect' $csproj | Should -Match 'https://github\.com/example/example' $csproj | Should -Match 'example;api;wrapper' - $csproj | Should -Match 'net8\.0' + $csproj | Should -Match 'net10\.0' } finally { Remove-Item -Recurse -Force $out } } } diff --git a/.github/agents/tests/csharp-templates.Tests.ps1 b/.github/agents/tests/csharp-templates.Tests.ps1 index 23f12bf..14e3481 100644 --- a/.github/agents/tests/csharp-templates.Tests.ps1 +++ b/.github/agents/tests/csharp-templates.Tests.ps1 @@ -196,7 +196,7 @@ Describe "Buildable output" { Set-Content -LiteralPath $kv.Value -Value $expanded -NoNewline } - $csproj = "`n `n net8.0`n enable`n enable`n Contoso`n Contoso`n `n `n `n `n `n `n`n" + $csproj = "`n `n net10.0`n enable`n enable`n Contoso`n Contoso`n `n `n `n `n `n `n`n" Set-Content -LiteralPath (Join-Path $script:BuildDir "Contoso.csproj") -Value $csproj -NoNewline Push-Location $script:BuildDir diff --git a/.github/agents/tests/oauth-templates.Tests.ps1 b/.github/agents/tests/oauth-templates.Tests.ps1 index 7b71517..97bd54b 100644 --- a/.github/agents/tests/oauth-templates.Tests.ps1 +++ b/.github/agents/tests/oauth-templates.Tests.ps1 @@ -142,7 +142,7 @@ Describe "OAuth buildable output" { Set-Content -LiteralPath $kv.Value -Value $expanded -NoNewline } - $csproj = "`n `n net8.0`n enable`n enable`n Contoso`n Contoso`n `n `n `n `n `n`n" + $csproj = "`n `n net10.0`n enable`n enable`n Contoso`n Contoso`n `n `n `n `n `n`n" Set-Content -LiteralPath (Join-Path $script:BuildDir "Contoso.csproj") -Value $csproj -NoNewline Push-Location $script:BuildDir diff --git a/.github/agents/tests/secret-gate.Tests.ps1 b/.github/agents/tests/secret-gate.Tests.ps1 index e6c9f5f..58be251 100644 --- a/.github/agents/tests/secret-gate.Tests.ps1 +++ b/.github/agents/tests/secret-gate.Tests.ps1 @@ -172,8 +172,8 @@ Describe "ci workflow YAML" { It "runs on ubuntu-latest" { $script:CiBody | Should -Match 'ubuntu-latest' } - It "uses .NET 8.0 SDK" { - $script:CiBody | Should -Match '8\.0' + It "uses .NET 10.0 SDK" { + $script:CiBody | Should -Match '10\.0' } It "runs dotnet build and dotnet test" { $script:CiBody | Should -Match 'dotnet\s+build' diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 65fbe4a..deed463 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -48,7 +48,7 @@ sections. `Pull-SDLC.ai.ps1` does this automatically on first sync. This is a **C#/.NET** project. Discover the project's purpose, architecture, and full technology stack from the solution/project files, `README.md`, and NuGet package references. -Key baseline technologies: C# / .NET 9+, xUnit, Moq. +Key baseline technologies: C# / .NET 10+, xUnit, Moq. ## Language Detection diff --git a/.github/instructions/project.instructions.md.template b/.github/instructions/project.instructions.md.template index 0566955..6540766 100644 --- a/.github/instructions/project.instructions.md.template +++ b/.github/instructions/project.instructions.md.template @@ -45,7 +45,7 @@ matters for code generation: | Layer | Technology | |------------------|------------| -| Language/Runtime | (e.g. C# / .NET 9) | +| Language/Runtime | (e.g. C# / .NET 10) | | Web framework | (e.g. ASP.NET Core, Minimal APIs) | | Data access | (e.g. EF Core, Dapper) | | Testing | (e.g. xUnit + Moq + FluentAssertions) | diff --git a/.github/workflows/validate-instructions.yml b/.github/workflows/validate-instructions.yml index fb98390..0ba06ed 100644 --- a/.github/workflows/validate-instructions.yml +++ b/.github/workflows/validate-instructions.yml @@ -232,7 +232,7 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: "8.0.x" + dotnet-version: "10.0.x" - name: Run Pester suite shell: pwsh diff --git a/CLAUDE.md b/CLAUDE.md index 10842e2..f579afc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -106,7 +106,7 @@ Discover the project layout by examining the root directory. A typical C#/.NET p | Layer | Technology | |---|---| -| Language | C# / .NET 9+ | +| Language | C# / .NET 10+ | | Testing | xUnit, Moq, FluentAssertions | > Discover the full technology stack from solution/project files, `README.md`, and diff --git a/run.Tests.ps1 b/run.Tests.ps1 index 46d4dd6..694c129 100644 --- a/run.Tests.ps1 +++ b/run.Tests.ps1 @@ -22,7 +22,7 @@ function global:Initialize-RunTests { $OutputType - net9.0 + net10.0 "@ @@ -31,7 +31,7 @@ function global:Initialize-RunTests { $xml = @" - net9.0 + net10.0 "@ @@ -236,7 +236,7 @@ Describe 'Find-VsCodeLaunchProject' { { "version": "0.2.0", "configurations": [ - { "name": "Launch DLL", "type": "coreclr", "request": "launch", "program": "${workspaceFolder}/src/App/bin/Debug/net9.0/App.dll" } + { "name": "Launch DLL", "type": "coreclr", "request": "launch", "program": "${workspaceFolder}/src/App/bin/Debug/net10.0/App.dll" } ] } '@ diff --git a/templates/api-wrapper-scaffold/csharp/tests/Tests.csproj.tmpl b/templates/api-wrapper-scaffold/csharp/tests/Tests.csproj.tmpl index 42fada9..8e718eb 100644 --- a/templates/api-wrapper-scaffold/csharp/tests/Tests.csproj.tmpl +++ b/templates/api-wrapper-scaffold/csharp/tests/Tests.csproj.tmpl @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable false diff --git a/templates/api-wrapper-scaffold/scripts/generate-wrapper.js b/templates/api-wrapper-scaffold/scripts/generate-wrapper.js index f2ab4ef..67a04d5 100644 --- a/templates/api-wrapper-scaffold/scripts/generate-wrapper.js +++ b/templates/api-wrapper-scaffold/scripts/generate-wrapper.js @@ -834,7 +834,7 @@ function emitCsproj(opts) { return [ '', ' ', - ' net8.0', + ' net10.0', ' Exe', ' enable', ' enable', diff --git a/templates/api-wrapper-scaffold/secret-gate/.github/workflows/ci.yml.tmpl b/templates/api-wrapper-scaffold/secret-gate/.github/workflows/ci.yml.tmpl index 7a657cb..3a16c2e 100644 --- a/templates/api-wrapper-scaffold/secret-gate/.github/workflows/ci.yml.tmpl +++ b/templates/api-wrapper-scaffold/secret-gate/.github/workflows/ci.yml.tmpl @@ -18,11 +18,11 @@ jobs: uses: actions/checkout@v4 - name: Setup .NET # Keep this version pinned to the same major.minor as the generated - # wrapper csproj's (currently net8.0). Update both + # wrapper csproj's (currently net10.0). Update both # together when bumping to a new LTS. uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore run: dotnet restore - name: Build