Skip to content

Commit 76d0075

Browse files
build: migrate from .NET 9 to .NET 10 (LTS)
Upgrade all 101 projects from net9.0 to net10.0, pin SDK via global.json (10.0.100 / latestFeature), update CI workflows, docs, templates, benchmark scripts, and test infrastructure paths. Fix C# 14 'field' keyword conflict in ValidationContext by renaming tuple variable. Fix SKILL.md ProjectReference path (..\Reactor\ -> ..\src\Reactor\). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7983633 commit 76d0075

124 files changed

Lines changed: 197 additions & 191 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup .NET
6666
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
6767
with:
68-
dotnet-version: 9.0.x
68+
dotnet-version: 10.0.x
6969

7070
- name: Restore
7171
run: dotnet restore tests/Reactor.Tests/Reactor.Tests.csproj
@@ -84,7 +84,7 @@ jobs:
8484
- name: Setup .NET
8585
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
8686
with:
87-
dotnet-version: 9.0.x
87+
dotnet-version: 10.0.x
8888

8989
- name: Restore
9090
run: dotnet restore tests/Reactor.SelfTests/Reactor.SelfTests.csproj
@@ -103,7 +103,7 @@ jobs:
103103
- name: Setup .NET
104104
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
105105
with:
106-
dotnet-version: 9.0.x
106+
dotnet-version: 10.0.x
107107

108108
- name: Restore
109109
run: dotnet restore Reactor.sln

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup .NET
5959
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
6060
with:
61-
dotnet-version: 9.0.x
61+
dotnet-version: 10.0.x
6262

6363
- name: Install dotnet-coverage
6464
run: dotnet tool install -g dotnet-coverage
@@ -81,7 +81,7 @@ jobs:
8181
shell: pwsh
8282
run: |
8383
dotnet-coverage instrument `
84-
"tests/Reactor.AppTests.Host/bin/x64/Debug/net9.0-windows10.0.22621.0/Reactor.dll" `
84+
"tests/Reactor.AppTests.Host/bin/x64/Debug/net10.0-windows10.0.22621.0/Reactor.dll" `
8585
-s coverage.settings.xml
8686
8787
- name: Collect selftest coverage

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup .NET
6666
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
6767
with:
68-
dotnet-version: 9.0.x
68+
dotnet-version: 10.0.x
6969

7070
- name: Install minver-cli
7171
run: dotnet tool install --global minver-cli --version 5.0.0
@@ -104,7 +104,7 @@ jobs:
104104
-p:Platform=x64
105105
-o artifacts/nupkg
106106
107-
# Framework-dependent: the consumer's machine supplies the .NET 9
107+
# Framework-dependent: the consumer's machine supplies the .NET 10
108108
# runtime — saves ~70 MB per RID. install-skill-kit.ps1 checks for it
109109
# and errors out with an install hint if it's missing. See spec 022 §6.
110110
- name: Publish mur (win-x64)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ dotnet build tests/Reactor.AppTests.Host -c Debug -p:Optimize=false -p:Debu
179179
# Step 2: Instrument Reactor.dll statically
180180
# (dynamic instrumentation skips referenced assemblies)
181181
dotnet-coverage instrument \
182-
"tests/Reactor.AppTests.Host/bin/$(RuntimeIdentifier)/Debug/net9.0-windows10.0.22621.0/Reactor.dll" \
182+
"tests/Reactor.AppTests.Host/bin/$(RuntimeIdentifier)/Debug/net10.0-windows10.0.22621.0/Reactor.dll" \
183183
-s coverage.settings.xml
184184

185185
# Step 3: Collect

SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ re-renders automatically. No XAML. No data binding. No ViewModels.
4444
</PropertyGroup>
4545
<ItemGroup>
4646
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.0.1" />
47-
<ProjectReference Include="..\Reactor\Reactor.csproj" />
47+
<ProjectReference Include="..\src\Reactor\Reactor.csproj" />
4848
</ItemGroup>
4949
</Project>
5050
```
@@ -311,7 +311,7 @@ For lightweight demos, skip the `.csproj` entirely. Add a file-level header:
311311
#:project ./src/Reactor
312312
#:package Microsoft.WindowsAppSDK@2.0.1
313313
#:property OutputType=WinExe
314-
#:property TargetFramework=net9.0-windows10.0.22621.0
314+
#:property TargetFramework=net10.0-windows10.0.22621.0
315315
#:property UseWinUI=true
316316
#:property WindowsPackageType=None
317317
#:property WindowsAppSDKSelfContained=true

docs/_pipeline/ai-author-skill.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The pipeline replaces `screenshot://` with a relative path like
6363

6464
```markdown
6565
<!-- ai:lock -->
66-
> **Prerequisites:** .NET 9+ and the Windows App SDK.
66+
> **Prerequisites:** .NET 10+ and the Windows App SDK.
6767
<!-- /ai:lock -->
6868
```
6969

@@ -90,7 +90,7 @@ docs/_pipeline/apps/my-topic/
9090
<Project Sdk="Microsoft.NET.Sdk">
9191
<PropertyGroup>
9292
<OutputType>WinExe</OutputType>
93-
<TargetFramework>net9.0-windows10.0.22621.0</TargetFramework>
93+
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
9494
<Platforms>x64;ARM64</Platforms>
9595
<ImplicitUsings>enable</ImplicitUsings>
9696
<Nullable>enable</Nullable>

docs/_pipeline/apps/accessibility/accessibility.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net9.0-windows10.0.22621.0</TargetFramework>
4+
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
55
<Platforms>x64;ARM64</Platforms>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

docs/_pipeline/apps/advanced/advanced.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net9.0-windows10.0.22621.0</TargetFramework>
4+
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
55
<Platforms>x64;ARM64</Platforms>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

docs/_pipeline/apps/animation/animation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net9.0-windows10.0.22621.0</TargetFramework>
4+
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
55
<Platforms>x64;ARM64</Platforms>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

docs/_pipeline/apps/async-resources-cookbook/async-resources-cookbook.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net9.0-windows10.0.22621.0</TargetFramework>
4+
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
55
<Platforms>x64;ARM64</Platforms>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)