Skip to content

[net11.0] Refresh .NET dependencies and fix RC1 build failures - #36861

Merged
kubaflo merged 6 commits into
net11.0from
darc-net11.0-5eb5b598-48b6-449c-8c28-f2ce42ebc12c
Jul 30, 2026
Merged

[net11.0] Refresh .NET dependencies and fix RC1 build failures#36861
kubaflo merged 6 commits into
net11.0from
darc-net11.0-5eb5b598-48b6-449c-8c28-f2ce42ebc12c

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Refreshes net11.0 from the latest builds on the .NET 11.0.1xx SDK channel and fixes the official workload and sample-build failures exposed by the RC1 transition.

Source BAR build Build/version Commit
dotnet/dotnet 324908 20260729.2 / SDK 11.0.100-rc.1.26379.102 / Arcade 11.0.0-beta.26379.102 813f634ceb016018f5acc9bd3c2b16e17dff4686
dotnet/macios 324699 20260728.2 / Apple 26.5.11992-net11-rc.1 17d5ebd7632ca2960ab6e3d4bdb68697d24bc2ba
dotnet/android 324914 11.0.0-preview.7.26379.1+azdo.14802945 / Android 37.0.0-ci.main.2160 444db99f7b362334b2785498c57064a4c66a7165

The dependency refresh updates eng/Version.Details.xml, eng/Versions.props, and global.json, while preserving the macOS dependency feed update in NuGet.config. The macOS net10 coherent dependencies remain mapped to BAR 324587, and the previous Android manifest remains mapped to BAR 315081.

The branch also merges the current net11.0 tip so it includes the already-merged ExampleJsInterop BL0016 fixes from #36888.

RC1 build fixes

  • Advances Microsoft.DotNet.Arcade.Sdk and related VMR dependencies to 11.0.0-beta.26379.102, replacing the unavailable 11.0.0-beta.26365.101 requested by failing official build 3034332.
  • Temporarily pins the Android and Apple workload manifest package IDs to 11.0.100-preview.7. Their latest component builds contain RC1 product versions but still publish Preview 7 manifest package IDs; using the VMR-derived RC1 IDs fails restore with NU1101.
  • Removes MAUI's duplicate explicit .cab FileExtensionSignInfo; Arcade already signs .cab files with Microsoft400.
  • Restores <MicrosoftWixVersion>6.0.3-dotnet.4</MicrosoftWixVersion> so all five WiX 6 package references have a version.
  • Guards the Controls sample's confirm, prompt, and alert JavaScript interop calls with JSException handling. The RC1 BL0016 analyzer rejects these calls when they are outside a try/catch; exceptions are rethrown as operation-specific InvalidOperationExceptions rather than suppressed or swallowed.

The signing and WiX changes reproduce the final implementation from merged PR #36879 (merge commit 67c53f3a438adf50bc1023321f33d7bc2e5bf6f9) without merging or cherry-picking the release-branch commit.

Validation

  • XML and JSON parsing; git diff --check
  • Exact BAR asset/version/SHA mapping for all refreshed dependencies and coherent prior pins
  • darc verify (only unchanged baseline Tizen/XUnit duplicate aliases and XHarness casing/version findings remain)
  • Workload bootstrap/restore and targeted MSBuild preparation using Arcade 11.0.0-beta.26379.102
  • WiX restore resolves all five references to 6.0.3-dotnet.4
  • No explicit .cab signing entry remains in eng/Signing.props
  • Maui.Controls.Sample.csproj -f net11.0 -c Debug under SDK 11.0.100-rc.1.26379.102 — passed with 0 warnings/errors
  • Maui.Controls.Sample.csproj -f net11.0 -c Release under SDK 11.0.100-rc.1.26379.102 — passed with 0 warnings/errors

Issues Fixed

No linked GitHub issue. Fixes the net11.0 official pipeline dependency provisioning, workload restore, signing, WiX restore, and RC1 BL0016 sample-build failures.

….0-preview.7.26377.1+azdo.14779821

On relative base path root
Microsoft.Android.Sdk.Windows From Version 37.0.0-ci.main.2139 -> To Version 37.0.0-ci.main.2148
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:02 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36861

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36861"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot added area/infrastructure 🏗️ area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions labels Jul 28, 2026
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:03 Inactive
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:04 Inactive
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:05 Inactive
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:06 Inactive
@dotnet-maestro
dotnet-maestro Bot temporarily deployed to copilot-pat-pool July 28, 2026 02:07 Inactive
…728.2

On relative base path root
Microsoft.iOS.Sdk.net11.0_26.5 , Microsoft.MacCatalyst.Sdk.net11.0_26.5 , Microsoft.macOS.Sdk.net11.0_26.5 , Microsoft.tvOS.Sdk.net11.0_26.5 From Version 26.5.11989-net11-p7 -> To Version 26.5.11992-net11-rc.1

Dependency coherency updates
On relative base path root
Microsoft.MacCatalyst.Sdk.net10.0_26.5 From Version 26.5.10309 -> To Version 26.5.10311 (parent: Microsoft.MacCatalyst.Sdk.net11.0_26.5)

Microsoft.macOS.Sdk.net10.0_26.5 From Version 26.5.10309 -> To Version 26.5.10311 (parent: Microsoft.macOS.Sdk.net11.0_26.5)

Microsoft.iOS.Sdk.net10.0_26.5 From Version 26.5.10309 -> To Version 26.5.10311 (parent: Microsoft.iOS.Sdk.net11.0_26.5)

Microsoft.tvOS.Sdk.net10.0_26.5 From Version 26.5.10309 -> To Version 26.5.10311 (parent: Microsoft.tvOS.Sdk.net11.0_26.5)
@dotnet-maestro dotnet-maestro Bot changed the title [net11.0] Update dependencies from dotnet/android [net11.0] Update dependencies from dotnet/android, dotnet/macios Jul 29, 2026
….0-preview.7.26378.1+azdo.14786814

On relative base path root
Microsoft.Android.Sdk.Windows From Version 37.0.0-ci.main.2139 -> To Version 37.0.0-ci.main.2151
Refresh dotnet/dotnet, dotnet/android, and dotnet/macios from the .NET 11.0.1xx SDK channel. Keep Android and macOS workload manifest package bands on Preview 7 during the RC 1 transition, and port the signing and WiX fixes from #36879.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d483d48e-8fc4-43ba-a37f-ac8d32c45fd5
@PureWeen PureWeen changed the title [net11.0] Update dependencies from dotnet/android, dotnet/macios [net11.0] Refresh .NET dependencies and fix official workload build Jul 29, 2026
Copilot AI added 2 commits July 29, 2026 15:50
Catch JSException around the Controls sample's confirm, prompt, and alert calls so the RC1 BL0016 analyzer accepts the sample without suppressing diagnostics.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d483d48e-8fc4-43ba-a37f-ac8d32c45fd5
@PureWeen PureWeen changed the title [net11.0] Refresh .NET dependencies and fix official workload build [net11.0] Refresh .NET dependencies and fix RC1 build failures Jul 29, 2026
@kubaflo
kubaflo merged commit 90e05ee into net11.0 Jul 30, 2026
149 of 167 checks passed
@kubaflo
kubaflo deleted the darc-net11.0-5eb5b598-48b6-449c-8c28-f2ce42ebc12c branch July 30, 2026 15:41
@github-actions github-actions Bot added this to the .NET 11.0-preview7 milestone Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infrastructure 🏗️ area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants