Repository navigation
Conversation
Runner image windows-2025-vs2026 20261116 ships the .NET 11 SDK (11.0.100). uno-check 1.34.1 requires SDK 10.0.101 (non-exact), and when that exact version is missing it falls back to the newest installed SDK, ignoring global.json. It then installs the .NET 10 workload rollback with the .NET 11 SDK, which fails with a mono toolchain manifest conflict and breaks every Uno (android/ios/macos/wasm) job. Remove SDKs newer than the one global.json selects before running uno-check, so workloads are installed for the SDK the build actually uses. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Nov 24, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
All 8 Uno matrix jobs (
build (2|3, android|ios|macos|wasm)) fail in theuno-checkstep on every PR (e.g. #892, run https://github.com/CommunityToolkit/Windows/actions/runs/44863951800):Root cause: runner image
windows-2025-vs202620261116 now ships the .NET 11 SDK (11.0.100).uno.check1.34.1 requires SDK10.0.101(non-exact). When that exact version isn't installed, it falls back to the newest SDK on the machine (ignoring ourglobal.json) and runsdotnet workload installfrom a temp folder whose generatedglobal.jsonpins that SDK. So the .NET 10 workload rollback gets installed with the .NET 11 SDK, which conflicts. The log shows it:SetEnvironmentVariable: DOTNET_SDK_VERSION=11.0.100,dotnet workload listreturns{"installed":[]}, and Mono11.0.0packs get downloaded.Before the image update, the newest SDK on the runner was the 10.0.4xx one that
global.jsonselects, so uno-check and MSBuild agreed.PR Type
What is the current behavior?
uno-check installs workloads with the .NET 11 SDK, fails, and every Uno job goes red before compilation.
What is the new behavior?
A new step runs before uno-check in the
buildandpackagejobs. It removes any SDK newer than the oneglobal.jsonresolves to (dotnet --versionin the repo root), so uno-check falls back to the same SDK we build with. This is the same state the runner was in before the image update. The step also moves forward automatically ifglobal.jsonlater moves to .NET 11.Alternatives considered:
uno.checkto 1.35.x: its manifest targets the11.0.100workload band, which doesn't match ourglobal.json(10.0.4xx), so the build would be missing workloads.toolingsubmodule: not involved. The uno-check steps live in this repo'sbuild.yml.PR Checklist
sdkfolder (8.0.428,10.0.303,10.0.404,10.0.500-rc.1.1,11.0.100,11.0.100-preview.7…with selected10.0.404→ removed only the 10.0.500 RC and the 11.0.x entries).Other information
uno-check could also respect
global.jsonwhen it picks an SDK. That would be worth raising upstream in unoplatform/uno.check.