Repository navigation
Upgrade to .NET 11 - #2228
Open
David Pine (IEvangelist) wants to merge 1 commit into
Open
Upgrade to .NET 11#2228David Pine (IEvangelist) wants to merge 1 commit into
David Pine (IEvangelist) wants to merge 1 commit into
Conversation
- global.json SDK 11.0.100 - Retarget all projects to net11.0 - Bump ASP.NET Core/runtime/extensions packages to 11.0.0 - Switch container family to resolute-chiseled (no noble images for 11.0) - Update net11.0 output paths in CI and Playwright config Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
API-data regeneration fails on clean SDK 11 installations because it still targets .NET 10 but cannot locate the required reference assemblies.
1 open issue
What changed in this PR
Upgrades the repository’s applications, tools, and tests to .NET 11, while preserving PackageJsonGenerator’s separate net10.0 metadata default.
Changes:
- Updates the SDK pin and all eight project target frameworks to .NET 11.
- Upgrades selected Microsoft packages and switches StaticHost to the
resolute-chiseledcontainer family. - Aligns CI artifact paths, Playwright startup, and review documentation with
net11.0.
| File | Description |
|---|---|
tests/StaticHost.Tests/StaticHost.Tests.csproj |
Retargets tests and upgrades test dependencies. |
tests/PackageJsonGenerator.Tests/PackageJsonGenerator.Tests.csproj |
Retargets generator tests to .NET 11. |
tests/AtsJsonGenerator.Tests/AtsJsonGenerator.Tests.csproj |
Retargets ATS generator tests to .NET 11. |
tests/Aspire.Dev.AppHost.Tests/Aspire.Dev.AppHost.Tests.csproj |
Retargets AppHost tests to .NET 11. |
src/tools/PackageJsonGenerator/PackageJsonGenerator.csproj |
Retargets the package metadata generator. |
src/tools/AtsJsonGenerator/AtsJsonGenerator.csproj |
Retargets the ATS metadata generator. |
src/statichost/StaticHost/StaticHost.csproj |
Updates framework, dependencies, and container family. |
src/frontend/playwright.config.mjs |
Starts StaticHost from its .NET 11 output directory. |
src/apphost/Aspire.Dev.AppHost/Aspire.Dev.AppHost.csproj |
Retargets the application orchestrator. |
global.json |
Pins SDK 11.0.100. |
.github/workflows/frontend-build.yml |
Updates StaticHost artifact upload and download paths. |
.agents/skills/code-review/SKILL.md |
Updates the documented C# target framework. |
Review effort: Balanced
| { | ||
| "sdk": { | ||
| "version": "10.0.100", | ||
| "version": "11.0.100", |
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Eric Erhardt (eerhardt)
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Upgrades the repo from .NET 10 to .NET 11 (GA 2026-11-10).
global.json: SDK10.0.100→11.0.100(all CI workflows and the AzDO CodeQL pipeline resolve the SDK fromglobal.json).net11.0.Microsoft.AspNetCore.OpenApi,System.IO.Hashing,Microsoft.AspNetCore.TestHost,Microsoft.Extensions.Http.Resilience,Microsoft.Extensions.TimeProvider.Testingto11.0.0. All have been on NuGet 9.9+ days.ContainerFamily:noble-chiseled→resolute-chiseled(Ubuntu 26.04). MCR publishes no11.0-noble*aspnet tags.bin/Release/net11.0paths infrontend-build.ymlandplaywright.config.mjs, plus the code-review skill doc.Intentionally unchanged: PackageJsonGenerator's
net10.0default, which labels the target framework of Aspire integration packages, not this repo's runtime.Third-party links and affiliations
None
Validation
Run locally with SDK 11.0.100:
dotnet test tests/PackageJsonGenerator.Tests -c Release: passed (41/41)dotnet test tests/AtsJsonGenerator.Tests -c Release: passed (113/113)dotnet test tests/Aspire.Dev.AppHost.Tests -c Release: passed (4/4)dotnet test tests/StaticHost.Tests -c Release --filter "Category!=RedisIntegration": passed (423/423)dotnet msbuild src/statichost/StaticHost/StaticHost.csproj -t:ComputeContainerBaseImage -getProperty:ContainerBaseImage: resolves tomcr.microsoft.com/dotnet/aspnet:11.0-resolute-chiseled(tag exists on MCR)Not run locally: Redis integration tests (need Docker), frontend build and E2E. Left to CI.