Skip to content

Update .NET servicing dependencies and adopt .NET 11 GA - #22070

Merged
Jose Perez Rodriguez (joperezr) merged 4 commits into
mainfrom
joperezr-dotnet-servicing-update
Nov 11, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 4 commits into
mainfrom
joperezr-dotnet-servicing-update

Conversation

@joperezr

@joperezr Jose Perez Rodriguez (joperezr) commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Description

Refresh the repository SDK and .NET dependencies for the November servicing releases and .NET 11 GA.

The released packages now restore from our existing approved feeds, and the local package build is green. No repository package sources were changed.

  • Update both repository SDK pins to 11.0.100, the .NET 10 test runtime to 10.0.15, and its test SDK to 10.0.404.
  • Update .NET 10 servicing dependencies to 10.0.15, including explicit playground and tool pins, and the EF Core 9 compatibility health-check pins to 9.0.23.
  • Update the remaining .NET 11 framework packages to 11.0.0, with matching package repository/SHA metadata in eng/Version.Details.xml.
  • Keep Npgsql and the matching EF Core 11 dependency family on RC1 until the GA PostgreSQL provider is published. Comments explain the exact-version constraint.
  • Update the template-engine packages to 11.0.100 and use stable NuGet 8.0.0 for the CLI, its tests, and the template-manifest tooling. The resolved NuGet dependency graphs contain no RC packages.
  • Update Microsoft.Azure.Cosmos to 3.63.2, satisfying the minimum dependency required by EF Core Cosmos 10.0.15 and resolving the central-package downgrade failures in playground projects and tests.
  • Update Blazor gateway SDK/runtime image pins, the E2E SDK installation, and the corresponding tests and Dockerfile snapshots.

There are no remaining .NET 8 servicing package pins on main, so no 8.0.34 pins were introduced. Existing target frameworks are unchanged.

Validation

All commands below use the repository's existing approved feeds, with no temporary source overrides.

Command Result
.\build.cmd -restore -build -ci -pack -bl /p:InstallBrowsersForPlaywright=false /p:SkipTestProjects=true /p:SkipBundleDeps=true /p:SkipNativeBuild=true Passed: produced 137 shipping packages; zero errors and 12 existing MySqlConnector audit warnings. This mirrors the package-build workflow's actions and properties on Windows.
dotnet test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-namespace 'Aspire.Cli.Tests.NuGet' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' Passed: 304 tests.
dotnet build tests\Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests\Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests.csproj --nologo -v minimal Passed for net10.0 and net11.0; zero warnings or errors.
dotnet build tools\GenerateTemplateManifest\GenerateTemplateManifest.csproj --nologo -v minimal Passed with stable NuGet 8.0.0; zero warnings or errors.

Verified that all 12 NuGet packages in each of the CLI and CLI-test graphs, and all seven NuGet packages in the template-manifest tool graph, resolve to stable 8.0.0. Earlier focused Blazor gateway validation passed seven tests after regenerating and reviewing the Dockerfile snapshots.

The full test suite, separate Native AOT publishing lanes, container-backed scenarios, Linux-only CLI E2E scenario, and MAUI workload-dependent project were not run locally; those remain for CI or their dedicated validation lanes.

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@joperezr Jose Perez Rodriguez (joperezr) added this to the 17.0 milestone Nov 10, 2026
@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/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22070

Or

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

@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot November 10, 2026 18:02
@github-actions github-actions Bot added the area-integrations Issues pertaining to Aspire Integrations packages label Nov 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

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

Blocked approved-feed restore and reportedly unavailable Blazor container tags leave the repository-wide SDK/dependency update awaiting post-publication restore, Blazor container, Linux CLI E2E, and MAUI validation.

No open issues 🎉

What changed in this PR

Updates Aspire’s SDK, framework dependencies, and supporting tooling for November servicing and .NET 11 GA, without changing target frameworks or repository package sources.

Changes:

  • Advances repository SDK pins to 11.0.100 and .NET 10 servicing dependencies to 10.0.15.
  • Updates .NET 11 packages and dependency metadata while retaining EF Core/Npgsql RC1 compatibility and refreshing EF Core 9 health-check pins.
  • Aligns template-engine tooling, Blazor container images, tests, and Dockerfile snapshots with the new versions.

The PR remains draft pending package availability in approved feeds and container-image publication; full restore and container-backed validation remain pending.

File Description
tools/​CreateFailingTestIssue/​Directory.Packages.props Updates System.IO.Hashing to 10.0.15.
tests/​Aspire.Pomelo.EntityFrameworkCore.MySql.Tests/​Aspire.Pomelo.EntityFrameworkCore.MySql.Tests.csproj Aligns EF Core 9 health-check test dependencies.
tests/​Aspire.Hosting.MySql.Tests/​Aspire.Hosting.MySql.Tests.csproj Updates the EF Core 9 health-check pin.
tests/​Aspire.Hosting.Blazor.Tests/​Snapshots/​AddBlazorGatewayTests.BlazorWasmPublishCompanion_UsesNet11Sdk.verified.Dockerfile Updates expected build and client SDK versions.
tests/​Aspire.Hosting.Blazor.Tests/​Snapshots/​AddBlazorGatewayTests.AddBlazorGateway_InPublishMode_UsesFileBasedGateway.verified.Dockerfile Updates expected SDK and ASP.NET runtime images.
tests/​Aspire.Hosting.Blazor.Tests/​AddBlazorGatewayTests.cs Aligns gateway package and SDK test expectations.
tests/​Aspire.Cli.EndToEnd.Tests/​TypeScriptBlazorGatewayTests.cs Installs the GA SDK for the Blazor E2E scenario.
src/​Components/​Aspire.Pomelo.EntityFrameworkCore.MySql/​Aspire.Pomelo.EntityFrameworkCore.MySql.csproj Updates health checks while preserving EF Core 9 compatibility.
src/​Aspire.Hosting.Blazor/​Aspire.Hosting.Blazor.csproj Sets Blazor SDK and runtime image tags to GA.
playground/​BlazorHosted/​Directory.Packages.props Updates WebAssembly packages to 10.0.15.
playground/​AspireWithMaui/​AspireWithMaui.MauiClient/​AspireWithMaui.MauiClient.csproj Updates explicit .NET servicing dependencies.
global.json Advances both repository SDK pins to 11.0.100.
eng/​Versions.props Refreshes framework and test-tool versions; documents retained EF Core RC1 pins.
eng/​Version.Details.xml Aligns managed dependency versions and source SHAs with GA.
Directory.Packages.props Updates central packages and build-only NuGet dependencies; documents Npgsql constraints.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

This comment has been minimized.

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

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 SDK/NuGet upgrade affects Native AOT publishing, Linux signature verification, and Blazor containers, but reported validation excludes these paths and dedicated CI coverage remains unconfirmed.

No open issues 🎉

Review effort: Balanced

@joperezr

Copy link
Copy Markdown
Member Author

/backport to release/17.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/17.0 (link to workflow run)

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

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

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 SDK, NuGet, and cryptography updates affect Native AOT restore and signature verification, but reported validation excludes native publishing/execution and container-backed gateway coverage.

No open issues 🎉

Review effort: Balanced

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

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

Ankit Jain (radical) commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

[automated] The CI confidence skill assessment is incomplete, and I'm running follow-up validation on PR head b7bc012095fdef8b7e03176aadd8dd500b5b4793:

The earlier internal build used the superseded commit and does not validate the current head.

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

Selects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL


Selection computed for commit b7bc012.

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

Reported validation excludes Native AOT and container paths affected by the dependency upgrades, leaving native CLI restore/signature verification, dashboard persistence, and gateway execution unconfirmed.

No open issues 🎉

Review effort: Balanced

Jose Perez Rodriguez (joperezr) added a commit that referenced this pull request Nov 11, 2026
#22146)

Backport of #22070 to release/17.0

/cc @joperezr

## Customer Impact

## Testing

## Risk

## Regression?

---------

Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 220f8e7 into main Nov 11, 2026
1447 of 1456 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot modified the milestones: 17.0, 17.1 Nov 11, 2026
@eerhardt
Eric Erhardt (eerhardt) deleted the joperezr-dotnet-servicing-update branch November 11, 2026 21:23
Jose Perez Rodriguez (joperezr) pushed a commit that referenced this pull request Nov 20, 2026
## Description

Document how to update Npgsql EF integrations when a new .NET/EF Core
major reaches GA before a compatible stable PostgreSQL provider. This
avoids holding unrelated EF integrations and managed dependency flow on
prerelease packages.

The dependency-update skill now covers provider nuspec range
verification, TFM-scoped provider and HealthChecks EF overrides, the
different Azure/non-Azure `PackageReference Include`/`Update`
requirements, test-project central version overrides, preserving older
TFMs, and keeping both integration packages prerelease with
`SuppressFinalPackageVersion` without changing main's global
stabilization setting. It also documents restored graph, test, and
package-version verification and removing the temporary pins and
suppression together.

The RC3 versions from #22070 and #22146 are explicitly historical
examples, not permanent update targets. The guidance was checked against
commit `b7bc012095fdef8b7e03176aadd8dd500b5b4793` and primary NuGet
nuspec metadata for Npgsql EF RC3 and HealthChecks EF RC3/GA, rather
than assuming either dependency PR is merged.

Only `.agents/skills/dependency-update/SKILL.md` changes; no dependency
versions or runtime code change.

### Validation

- `git diff --check` — passed before commit.
- Manually verified the documented exact provider ranges and
HealthChecks minimum versions against nuget.org nuspecs, and the
override shapes against the referenced PR commit.
- Builds and tests were not run: this is a documentation-only change.
The new guidance describes validation for future dependency updates;
those dependency updates are not part of this PR.

Fixes # (issue)

## Checklist

- Is this feature complete?
  - [x] Yes. Ready to ship.
  - [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
  - [ ] Yes
  - [x] No
- Did you add public API?
  - [ ] Yes
    - If yes, did you have an API Review for it?
      - [ ] Yes
      - [ ] No
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [ ] No
  - [x] No
- Does the change make any security assumptions or guarantees?
  - [ ] Yes
    - If yes, have you done a threat model and had a security review?
      - [ ] Yes
      - [ ] No
  - [x] No

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants