Skip to content

Add .NET 11 images based on Windows Server 2022 - #7514

Open
asiqq23 wants to merge 2 commits into
dotnet:nightlyfrom
asiqq23:add-net11-windows-ltsc2022
Open

asiqq23 wants to merge 2 commits into
dotnet:nightlyfrom
asiqq23:add-net11-windows-ltsc2022

Conversation

@asiqq23

@asiqq23 asiqq23 commented Nov 19, 2026

Copy link
Copy Markdown

Related to #7490

Adds Windows Server 2022 variants of the .NET 11 runtime, aspnet and sdk images, matching what is published for .NET 10:

  • 11.0-nanoserver-ltsc2022
  • 11.0-windowsservercore-ltsc2022

.NET 11 Windows images are currently only published for Windows Server 2025. Process-isolated containers must match the host OS build, so hosts still on Windows Server 2022 (build 20348) cannot run them.

Changes

  • manifest.json: six new image entries, copied from the .NET 11 ltsc2025 entries.
  • src/{runtime,aspnet,sdk}/11.0/{nanoserver,windowsservercore}-ltsc2022: Dockerfiles generated from the existing Windows templates (no template changes). They differ from the ltsc2025 Dockerfiles only in the base image tags and the PowerShell distribution channel.
  • eng/mcr-tags-metadata-templates: new tag groups, and regenerated READMEs.
  • TestData.cs: .NET 11 entries for NanoServerLtsc2022 and ServerCoreLtsc2022.
  • Internal Dockerfile baselines: the 11.0 ltsc2022 baseline files already existed but were stale; they are regenerated with update-internal-baselines.ps1.

Testing

  • Pre-build validation tests pass locally (run-tests.ps1 -Paths '*' -TestCategories @('pre-build'), 124 passed).
  • I could not build the images locally (Windows container mode is broken on my machine), so the image build and image tests are relying on CI.

Note on the supported platforms policy

Windows Server 2022 left Mainstream Support in October 2026, and supported-platforms.md says images are published for Windows versions in Mainstream Support. If leaving out ltsc2022 for .NET 11 is intentional, I'm happy to close this — #7490 has the background on why it would still be useful.

Add nanoserver-ltsc2022 and windowsservercore-ltsc2022 variants of the .NET 11 runtime, aspnet and sdk images, matching what is published for .NET 10.

Related to dotnet#7490
@asiqq23
asiqq23 requested a review from a team as a code owner November 19, 2026 09:06
@asiqq23

asiqq23 commented Nov 23, 2026

Copy link
Copy Markdown
Author

@dotnet-policy-bot agree

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