CI: build with the .NET 10 SDK
CI / build-test (push) Failing after 1m17s

Roslyn 5.3.0 packages (asset-handles generator) ship analyzers built
against compiler 4.12+, which the SDK 8 toolchain cannot load (CS9057).
The target framework stays net8.0; CLAUDE.md documents the SDK floor.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Leonid Pershin
2026-06-11 22:20:52 +03:00
co-authored by Claude Fable 5
parent 5d3c18de40
commit 4ae730cafa
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -10,9 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Сборка требует SDK 10+: Roslyn-пакеты 5.3.0 (генератор ассет-хендлов)
# не загружаются компилятором из SDK 8. TargetFramework остаётся net8.0.
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x
- name: Build
run: dotnet build MrGameEng.sln --configuration Release
- name: Test
+3
View File
@@ -47,6 +47,9 @@ dotnet build MrGameEng.sln
dotnet test MrGameEng.sln
```
Building requires the .NET 10+ SDK (Roslyn 5.3 packages used by the asset-handles
generator do not load under the SDK 8 compiler); the target framework stays net8.0.
## Architecture rules
- ECS-first: components are plain data (`struct` implementing `IComponent`),