Repository navigation
build: drop MSBuild.Sdk.Extras, install wasm-tools on the WebAssembly jobs, fix the Navigation UI test build - #3151
Merged
Merged
Conversation
Unmaintained - 3.0.44 is its last release - and it does not load under the .NET 10 SDK: Sdk.props derives a path from $(ToolDepsJsonGeneratorProject), which that SDK no longer defines (MSB4184, seen on #3139's Windows jobs). Only Uno.Extensions.Serialization.Http and .Refit used it, and neither needs anything it provides: three plain .cs files each on the single net9.0 TFM from tfms-non-ui.props, with none of the per-TFM globbing or Xamarin multi-targeting the SDK exists for. Both now use Microsoft.NET.Sdk, and the msbuild-sdks entry goes with its last consumer. Verified: both projects build and pack, and the packages keep the same shape - lib/net9.0 dll + pdb + xml, same net9.0 dependency group. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
Uno.Wasm.Bootstrap relinks SkiaSharp's native WebAssembly assets, which needs the wasm-tools workload in the SDK the job uses. Two jobs never install it: - UI Tests - WebAssembly (Azure) has been passing on a warm "Set Cache for dotnet install" entry that happened to carry the workload. The SDK version is part of that cache key, so any bump evicts the entry and the job fails with UNOWA0001 "Native WebAssembly assets were detected, but the wasm-tools workload could not be located" (#3139, build 229713) - Build and Deploy Job (GitHub Actions, Azure Static Web Apps) has been failing on main on every push with the same error: actions/setup-dotnet installs its own SDK inside unoplatform/wasm-build, and the workload belongs to the SDK, not to the image Both now install it themselves, matching stage-build-wasm.yml. Verified on #3139: the UI-test lane went red -> green with exactly this step, and the static-app build now succeeds - its deploy step then fails on an Azure staging-environment quota, which is not something the repository can fix. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
Nothing in CI builds this project on Android or in Release, so two latent breaks went unnoticed: - Uno's Android tooling emits a second declaration for Page subclasses; HotReloadNewRoutePage and TabThreePage were not partial, so the net9.0-android build fails with CS0260 - four <see cref>s point at #if DEBUG types (Given_TabBar_HotReload, HotReloadHelper) or at a type not visible from this project, which is CS1574 -> error under TreatWarningsAsErrors in Release on every TFM Verified: net9.0-android Release fails with CS0260 x2 before, and builds with 0 errors after for both net9.0-android and net9.0-desktop. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
kazo0
enabled auto-merge
August 24, 2026 16:41
rajamatt
approved these changes
Aug 24, 2026
…ller eat the job update-vs-components.yml drives vs_installer.exe to add Component.Xamarin and has no timeout. Twice today the installer hung silently on one Windows sample job while the sibling job ran the identical step in under five minutes, and each hang cost the full 90-minute job budget (#3139 build 229724, #3151 build 229783). The step now times out at 15 minutes and retries twice; vs_installer modify is idempotent, so a retry is safe. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
Xiaoy312
approved these changes
Aug 24, 2026
update-vs-components.yml ran vs_installer.exe to add Component.Xamarin on every Windows job. It was added when the windows-2022 image removed the Xamarin tooling (actions/runner-images#6082), for Xamarin.Android/iOS heads that no longer exist here: the repo dropped UWP and Xamarin, and the net9.0-android / net9.0-ios targets build from the .NET workloads uno-check installs, not from Visual Studio components. It has also become a liability: three times in one day the installer hung with no output at all - once for the sibling job's 4m50s, once for 84 minutes until the job timeout, and once for the 15-minute bound the previous commit put on it (which showed that a step timeout does not trigger retryCountOnTaskFailure). Removing a step that installs nothing the build uses is the fix; the Packages job on this PR is the proof, since it builds every TFM with Visual Studio's MSBuild. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
ajpinedam
approved these changes
Aug 24, 2026
This was referenced Aug 24, 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.
GitHub Issue (If applicable): split out of #3139
PR Type
What is the current behavior?
Four small, unrelated build/CI defects, each invisible until something exercised the path:
MSBuild.Sdk.Extrasis unmaintained (3.0.44 is its last release) and does not load under the .NET 10 SDK —Sdk.propsderives a path from$(ToolDepsJsonGeneratorProject), which that SDK no longer defines (MSB4184). OnlyUno.Extensions.Serialization.Httpand.Refituse it, and neither needs anything it provides: three plain.csfiles each, a singlenet9.0TFM, none of the per-TFM globbing or Xamarin multi-targeting the SDK exists for.UI Tests - WebAssemblynever installs thewasm-toolsworkload. It has been passing on a warmSet Cache for dotnet installentry that happened to carry it; the SDK version is part of that cache key, so any bump evicts the entry and the job fails withUNOWA0001: Native WebAssembly assets were detected, but the wasm-tools workload could not be located.Build and Deploy Job(Azure Static Web Apps) has the same gap and has been failing onmainon every push:actions/setup-dotnetinstalls its own SDK insideunoplatform/wasm-build, and the workload belongs to the SDK, not to the image.Uno.Extensions.Navigation.WinUI.Testsdoes not compile on Android, nor in Release on any TFM. Uno's Android tooling emits a second declaration forPagesubclasses, so two non-partialpages fail withCS0260; and four<see cref>s point at#if DEBUGtypes (Given_TabBar_HotReload,HotReloadHelper) or at types not visible from the project, which isCS1574→ error underTreatWarningsAsErrorsin Release. No CI stage builds this head on Android or in Release, so both went unnoticed.What is the new behavior?
Microsoft.NET.Sdk; themsbuild-sdksentry is gone with its last consumer. The packed output is unchanged in shape —lib/net9.0dll + pdb + xml, same dependency group.wasm-toolsthemselves, matching whatstage-build-wasm.ymlalready does, and no longer depend on cache state.partial; the four crefs are<c>text.PR Checklist
Other information
Verified locally: both serialization projects build and pack (.NET 10 SDK; the swap is SDK-neutral);
Navigation.WinUI.Testsfails withCS0260onnet9.0-androidwithout thepartialfix and builds clean in Release for bothnet9.0-androidandnet9.0-desktopwith all six fixes; both YAML files parse. The two workload fixes were verified on #3139's CI (the UI-test lane went red → green with exactly this step; the static-app build now succeeds and only its deploy step fails, on an Azure staging-environment quota that needs clearing in the portal — see below).Note on
Build and Deploy Job: with the build fixed, the deploy step surfacesThis Static Web App already has the maximum number of staging environments. That is an Azure-side quota, not something the repo can fix; the check stays red on every PR until stale staging environments are removed.🤖 Generated with Claude Code
https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH