From b698a87bc8dc6ba2ddc778e9a7404bfce5e60dd4 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Sat, 18 Jul 2026 15:59:23 +0200 Subject: [PATCH] chore(build): align local and CI builds on .NET 10 SDK - global.json pins SDK 10.0.2xx (latestFeature) for local and CI parity - build-agent.yml: SDK 10 as build toolchain, 8.0.x kept for the net8.0 DecisionCore.Tests runtime - build.ps1: stale .NET 8 hints updated to .NET 10 Co-Authored-By: Claude Fable 5 --- build.ps1 | 4 ++-- global.json | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 global.json diff --git a/build.ps1 b/build.ps1 index 8b9632ad..3b397e2c 100644 --- a/build.ps1 +++ b/build.ps1 @@ -53,7 +53,7 @@ try { Write-Host " ✓ .NET SDK version: $dotnetVersion" -ForegroundColor Green } catch { - Write-Host " ✗ .NET SDK not found. Please install .NET 8 SDK." -ForegroundColor Red + Write-Host " ✗ .NET SDK not found. Please install .NET 10 SDK." -ForegroundColor Red exit 1 } @@ -145,7 +145,7 @@ Write-Host "============================================" -ForegroundColor Cyan Write-Host "" Write-Host "Output locations:" -ForegroundColor White Write-Host " Agent: src\Agent\AutopilotMonitor.Agent.V2\bin\$Configuration\net48\" -ForegroundColor Gray -Write-Host " Functions: src\Backend\AutopilotMonitor.Functions\bin\$Configuration\net8.0\" -ForegroundColor Gray +Write-Host " Functions: src\Backend\AutopilotMonitor.Functions\bin\$Configuration\net10.0\" -ForegroundColor Gray if ($IncludeWeb) { Write-Host " Web UI: src\Web\autopilot-monitor-web\.next\" -ForegroundColor Gray diff --git a/global.json b/global.json new file mode 100644 index 00000000..6b65fcd2 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.200", + "rollForward": "latestFeature" + } +}