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:
co-authored by
Claude Fable 5
parent
5d3c18de40
commit
4ae730cafa
@@ -10,9 +10,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
# Сборка требует SDK 10+: Roslyn-пакеты 5.3.0 (генератор ассет-хендлов)
|
||||||
|
# не загружаются компилятором из SDK 8. TargetFramework остаётся net8.0.
|
||||||
- uses: actions/setup-dotnet@v4
|
- uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 10.0.x
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build MrGameEng.sln --configuration Release
|
run: dotnet build MrGameEng.sln --configuration Release
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|||||||
@@ -47,6 +47,9 @@ dotnet build MrGameEng.sln
|
|||||||
dotnet test 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
|
## Architecture rules
|
||||||
|
|
||||||
- ECS-first: components are plain data (`struct` implementing `IComponent`),
|
- ECS-first: components are plain data (`struct` implementing `IComponent`),
|
||||||
|
|||||||
Reference in New Issue
Block a user