Skip to content

[release/11.0.1xx-sr2] Revert runtime/library package versions to 11.0.0; keep 11.0.101 SDK - #40606

Closed
kubaflo wants to merge 1 commit into
release/11.0.1xx-sr2from
kubaflo-sr2-release-handoff
Closed

kubaflo wants to merge 1 commit into
release/11.0.1xx-sr2from
kubaflo-sr2-release-handoff

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 25, 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!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

This is SR2 release work, so it targets release/11.0.1xx-sr2 directly, as #38749 did for SR11 (10.0.110).

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

Description of Change

The VS assessment for MAUI 11 SR2 (11.0.20), DevDiv 3107252, fails to restore a new MAUI app:

NU1102: Unable to find package Microsoft.Extensions.Logging with version (>= 11.0.1)
NU1102: Unable to find package Microsoft.Extensions.Configuration with version (>= 11.0.1)
NU1102: Unable to find package Microsoft.Extensions.DependencyInjection with version (>= 11.0.1)

Cause: the SR2 squash of #40407 included the .NET 11.0.101 SDK dependency update. That update raised the runtime and library pins from 11.0.0 to 11.0.1. Microsoft.Maui.* 11.0.20 therefore depends on 11.0.1 versions of Microsoft.Extensions.*, ASP.NET Core/Blazor and JSInterop. Those 11.0.1 packages ship with the December .NET servicing release and are not public yet. This is the same failure as SR11 (#38318, fixed by #38732 and #38749).

Fix: roll back only the 26 runtime and library pins in eng/Versions.props, with their 26 entries in eng/Version.Details.xml, to the SR1 values: 11.0.0 at a586537b. Packages that inherit MicrosoftNETCoreAppRefPackageVersion follow: System.Text.Json, System.Text.Encodings.Web, System.CodeDom and Microsoft.Bcl.AsyncInterfaces.

The SDK 11.0.101, Arcade, Android, global.json, NuGet.config and eng/common are unchanged.

The rollback is temporary. Restore the 11.0.1 pins once those packages are public on NuGet.org.

Issues Fixed

Fixes the SR2 consumer restore failure (NU1102) reported in DevDiv assessment 3107252.

Validation

  • Diff scope: only the 26 intended pins change (78 insertions, 78 deletions), the same shape as [release/10.0.1xx-sr11] Revert #38318 runtime/library package versions; keep SDK and Arcade fixes #38749.
  • Syntax: both files parse as XML, and git diff --check passes.
  • Public restore: a standalone net11.0 fixture referenced all 25 directly pinned packages at exactly 11.0.0 and restored them from the public dotnet-public mirror only. Raising the same fixture to [11.0.1] failed with NU110x, which reproduces the assessment error. This host can't connect to NuGet.org directly.
  • Not run: a full MAUI build and a clean-install VS validation. Those depend on CI and a new signed SR2 build.

…0.0; keep 11.0.101 SDK

Microsoft.Maui.* 11.0.20 required Microsoft.Extensions.*, ASP.NET Core/Blazor
and JSInterop 11.0.1, which are not publicly available yet, so consumer
restores fail with NU1102 (VS assessment 3107252). Roll back only those
pins to 11.0.0, like #38749 did for 10.0.110. The SDK, toolset, Android and
feed changes are unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 11:01
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 25, 2026
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 25, 2026 11:01 — with GitHub Actions 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 -- 40606

Or

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

@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The release-wide dependency rollback retains a newer SDK, and passing static checks do not replace the still-unverified signed SR2 build and clean MAUI/Blazor consumer restores.

No open issues 🎉

What changed in this PR

This PR addresses the MAUI 11 SR2 consumer restore failure by temporarily reverting runtime and library dependencies to 11.0.0, while retaining the 11.0.101 SDK. It follows the targeted rollback approach used for SR11.

Changes:

  • Reverts 26 runtime, Extensions, ASP.NET Core/Blazor, and JSInterop version pins; dependent System packages inherit the runtime rollback.
  • Aligns the 26 dependency metadata entries with version 11.0.0 and source revision a586537b.
  • Leaves SDK, Arcade, Android, feeds, and shared build infrastructure unchanged.
File Description
eng/​Versions.props Reverts 26 runtime and library version properties to 11.0.0.
eng/​Version.Details.xml Updates matching dependency versions and source revisions.

Review effort: Balanced

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Review — 1 finding

Reviewed commit d6ff7c4.

See inline comments for details.

Comment thread eng/Versions.props
<MicrosoftExtensionsDependencyInjectionVersion>11.0.0</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>11.0.0</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
<MicrosoftExtensionsFileProvidersAbstractionsVersion>11.0.0</MicrosoftExtensionsFileProvidersAbstractionsVersion>
<MicrosoftExtensionsLoggingAbstractionsVersion>11.0.0</MicrosoftExtensionsLoggingAbstractionsVersion>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[moderate] Regression Prevention and Test Coverage - This consumer-restore fix has no committed regression test that distinguishes public release dependencies from unpublished servicing packages. IntegrationTestFixture copies the repository NuGet.config, including the servicing darc feeds, and both ordinary MAUI and Blazor template tests restore through that configuration. Those tests can therefore resolve the 11.0.1 dependencies that fail for the reported public-feed consumer. The standalone fixture described in the PR is not committed and tests direct library references rather than the dependency graph emitted by the built MAUI packages. Add a restore regression fixture for ordinary MAUI and Blazor consumers using the built MAUI packages locally, public-release sources for their library dependencies, and an isolated package cache.

@kubaflo kubaflo closed this Nov 25, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — d6ff7c49 Deployed Nov 25, 2026 by kubaflo via conclusion #3309
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.

2 participants