Skip to content

CI: build net10.0 WebAssembly on the runners' .NET 11 SDK; drop orphaned sample folders - #28

Merged
gmurray81 merged 2 commits into
vnextfrom
gmurray/ci-sdk11
Nov 15, 2026
Merged

gmurray81 merged 2 commits into
vnextfrom
gmurray/ci-sdk11

Conversation

@gmurray81

Copy link
Copy Markdown
Member

Every PR build and the vnext deploy have been failing since the runner images started shipping .NET SDK 11.0.100 next to 10.0.404. Nothing pins the SDK, so dotnet uses 11.

  • WebAssembly: on SDK 11, wasm-tools is the net11.0 toolchain, so the net10.0 samples failed: UNOWA0001 in PR builds, NETSDK1147 … wasm-tools-net10 in the deploy. Both workflows now install wasm-tools-netN when the SDK is newer than the target framework. This still pins nothing.
  • android, desktop and ios: MSB1009, because the PR build's fixed sample list named maps/geo-map/binding-data-csv, which improvements for initial release #25 removed. It now builds maps/geo-map/binding-data-model.
  • Orphaned folders: improvements for initial release #25 left the iOS platform files of its nine removed samples behind. They're deleted.

Verified locally with SDK 11.0.100 (with the 10.0 runtime, as on the runners):

  • plain wasm-tools reproduces UNOWA0001;
  • with the workflow's logic (wasm-tools-net10), the samples browser and the three fixed-list samples build for net10.0-browserwasm.

🤖 Generated with Claude Code

gmurray81 and others added 2 commits November 15, 2026 11:55
…op orphaned sample folders

The runner images now carry SDK 11.0.100 next to 10.0.404, and nothing pins the SDK, so dotnet uses
11. The workflows installed wasm-tools, which on SDK 11 is the net11.0 toolchain: building the
net10.0-browserwasm samples failed with UNOWA0001 (PR builds) and NETSDK1147 wasm-tools-net10
(deploy). Both workflows now install wasm-tools-netN when the SDK is newer than the target framework.

The PR build's fixed sample list named maps/geo-map/binding-data-csv, which #25 removed (MSB1009 on
android, desktop and ios); it now builds maps/geo-map/binding-data-model. #25 also left the iOS
platform files of its nine removed samples behind; they are deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under bash -e -o pipefail, the changed-samples loop ended with a failed [ -f ] test when the last
changed folder has no Sample.csproj (a removed sample), so the step exited 1 without a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gmurray81
gmurray81 merged commit 7b949e3 into vnext Nov 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant