Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/agents/tests/codegen-pipeline.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Describe 'nuget-metadata' {
$csproj | Should -Match '<Authors>IntelliTect</Authors>'
$csproj | Should -Match '<RepositoryUrl>https://github\.com/example/example</RepositoryUrl>'
$csproj | Should -Match '<PackageTags>example;api;wrapper</PackageTags>'
$csproj | Should -Match '<TargetFramework>net8\.0</TargetFramework>'
$csproj | Should -Match '<TargetFramework>net10\.0</TargetFramework>'
} finally { Remove-Item -Recurse -Force $out }
}
}
Expand Down
2 changes: 1 addition & 1 deletion .github/agents/tests/csharp-templates.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Describe "Buildable output" {
Set-Content -LiteralPath $kv.Value -Value $expanded -NoNewline
}

$csproj = "<Project Sdk=`"Microsoft.NET.Sdk`">`n <PropertyGroup>`n <TargetFramework>net8.0</TargetFramework>`n <Nullable>enable</Nullable>`n <ImplicitUsings>enable</ImplicitUsings>`n <RootNamespace>Contoso</RootNamespace>`n <AssemblyName>Contoso</AssemblyName>`n </PropertyGroup>`n <ItemGroup>`n <PackageReference Include=`"Microsoft.Extensions.Logging.Abstractions`" Version=`"8.0.0`" />`n <PackageReference Include=`"Microsoft.Playwright`" Version=`"1.49.0`" />`n <PackageReference Include=`"System.Security.Cryptography.ProtectedData`" Version=`"8.0.0`" />`n </ItemGroup>`n</Project>`n"
$csproj = "<Project Sdk=`"Microsoft.NET.Sdk`">`n <PropertyGroup>`n <TargetFramework>net10.0</TargetFramework>`n <Nullable>enable</Nullable>`n <ImplicitUsings>enable</ImplicitUsings>`n <RootNamespace>Contoso</RootNamespace>`n <AssemblyName>Contoso</AssemblyName>`n </PropertyGroup>`n <ItemGroup>`n <PackageReference Include=`"Microsoft.Extensions.Logging.Abstractions`" Version=`"8.0.0`" />`n <PackageReference Include=`"Microsoft.Playwright`" Version=`"1.49.0`" />`n <PackageReference Include=`"System.Security.Cryptography.ProtectedData`" Version=`"8.0.0`" />`n </ItemGroup>`n</Project>`n"
Set-Content -LiteralPath (Join-Path $script:BuildDir "Contoso.csproj") -Value $csproj -NoNewline

Push-Location $script:BuildDir
Expand Down
2 changes: 1 addition & 1 deletion .github/agents/tests/oauth-templates.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Describe "OAuth buildable output" {
Set-Content -LiteralPath $kv.Value -Value $expanded -NoNewline
}

$csproj = "<Project Sdk=`"Microsoft.NET.Sdk`">`n <PropertyGroup>`n <TargetFramework>net8.0</TargetFramework>`n <Nullable>enable</Nullable>`n <ImplicitUsings>enable</ImplicitUsings>`n <RootNamespace>Contoso</RootNamespace>`n <AssemblyName>Contoso</AssemblyName>`n </PropertyGroup>`n <ItemGroup>`n <PackageReference Include=`"Microsoft.Extensions.Logging.Abstractions`" Version=`"8.0.0`" />`n <PackageReference Include=`"System.Security.Cryptography.ProtectedData`" Version=`"8.0.0`" />`n </ItemGroup>`n</Project>`n"
$csproj = "<Project Sdk=`"Microsoft.NET.Sdk`">`n <PropertyGroup>`n <TargetFramework>net10.0</TargetFramework>`n <Nullable>enable</Nullable>`n <ImplicitUsings>enable</ImplicitUsings>`n <RootNamespace>Contoso</RootNamespace>`n <AssemblyName>Contoso</AssemblyName>`n </PropertyGroup>`n <ItemGroup>`n <PackageReference Include=`"Microsoft.Extensions.Logging.Abstractions`" Version=`"8.0.0`" />`n <PackageReference Include=`"System.Security.Cryptography.ProtectedData`" Version=`"8.0.0`" />`n </ItemGroup>`n</Project>`n"
Set-Content -LiteralPath (Join-Path $script:BuildDir "Contoso.csproj") -Value $csproj -NoNewline

Push-Location $script:BuildDir
Expand Down
4 changes: 2 additions & 2 deletions .github/agents/tests/secret-gate.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/instructions/project.instructions.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-instructions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions run.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function global:Initialize-RunTests {
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>$OutputType</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
"@
Expand All @@ -31,7 +31,7 @@ function global:Initialize-RunTests {
$xml = @"
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
"@
Expand Down Expand Up @@ -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" }
]
}
'@
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion templates/api-wrapper-scaffold/scripts/generate-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ function emitCsproj(opts) {
return [
'<Project Sdk="Microsoft.NET.Sdk">',
' <PropertyGroup>',
' <TargetFramework>net8.0</TargetFramework>',
' <TargetFramework>net10.0</TargetFramework>',
' <OutputType>Exe</OutputType>',
' <Nullable>enable</Nullable>',
' <ImplicitUsings>enable</ImplicitUsings>',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <TargetFramework> (currently net8.0). Update both
# wrapper csproj's <TargetFramework> (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
Expand Down
Loading