Repository navigation
Fix CI uno-check workload installs with .NET 11 on runners - #900
Closed
Sergio0694 wants to merge 1 commit into
Closed
Sergio0694 wants to merge 1 commit into
Sergio0694 wants to merge 1 commit into
Conversation
uno-check installs workloads with the newest SDK it finds, while the build uses the SDK pinned in global.json. Since the runner images ship .NET 11, workloads were being installed into the wrong feature band. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
Author
|
Closing as a duplicate of #893, which already implements the same fix and has a fully green CI run. |
This was referenced Nov 26, 2026
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
Fixes the broken mobile/wasm CI builds seen in #891 and #898 (draft, validating via CI), without moving the repo to .NET 11.
PR Type
What is the current behavior?
The runner images now ship .NET SDK 11.0.100 next to 10.0.x.
uno-checkpicks the highest installed SDK (DotNetCheckupunconditionally setsDOTNET_SDK_VERSION=11.0.100, overriding anything set in the environment, since the manifest's required SDK10.0.101never matches exactly) and then runsdotnet workload install --from-rollback-fileunder a tempglobal.jsonpinned to that SDK. Workloads end up in the 11.0.100 feature band, while the check (SDK 10.0.404) and the real build (global.json-> 10.0.404) look at the 10.0.100 band, so the check reportsandroid/maui/ios/maccatalyst/wasm-tools ... is not installedand the job fails (or, with newer uno-check, the build fails with NETSDK1147).What is the new behavior?
Before
uno-checkruns (inbuildandpackage), SDKs newer than the major pinned inglobal.jsonare removed from the runner, so uno-check selects 10.0.404 again and installs/validates workloads in the 10.0.100 band, exactly as before the image gained .NET 11.uno.checkstays on 1.34.1.PR Checklist
Other information
Draft: waiting for CI to confirm the matrix (android/ios/macos/wasm + package) goes green.