Skip to content

Add workload update to CI to fix .NET 11 preview manifest resolution#756

Merged
jfversluis merged 2 commits intomainfrom
ci/workload-update-before-install
Apr 14, 2026
Merged

Add workload update to CI to fix .NET 11 preview manifest resolution#756
jfversluis merged 2 commits intomainfrom
ci/workload-update-before-install

Conversation

@jfversluis
Copy link
Copy Markdown
Member

Problem

The .NET 11 preview 3 SDK ships with stale preview 1 baseline workload manifests. When CI runs dotnet workload install maui, it finds "No workload update" and tries to install packs using the embedded preview 1 which don't exist on NuGet.versions

Fix

Add dotnet workload update before dotnet workload install maui in both build-pr.yml and build-all.yml. This forces the SDK to pull the latest manifest versions from NuGet before installing.

Changes

  • .github/workflows/build-pr.yml: Added dotnet workload update
  • .github/workflows/build-all.yml: Added dotnet workload update

This unblocks CI for PRs #743, #752, and #753 (all .NET 11 samples).

jfversluis and others added 2 commits April 14, 2026 22:47
The .NET 11 preview 3 SDK ships with stale preview 1 workload manifests.
Running 'dotnet workload update' before 'dotnet workload install maui'
forces the SDK to fetch the latest manifests from NuGet.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The .NET 11 SDK defaults to workload-set mode, but no matching workload
set is published yet. Switching to loose manifest mode allows individual
manifests to be pulled from NuGet, resolving the stale preview.1 baselines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jfversluis jfversluis merged commit ac4d707 into main Apr 14, 2026
3 checks passed
@jfversluis jfversluis deleted the ci/workload-update-before-install branch April 14, 2026 20:58
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