Skip to content

Generate stable .NET 11 container image tags - #627

Merged
Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
copilot/fix-docker-images-for-dotnet-11-rc1
Oct 6, 2026
Merged

Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
copilot/fix-docker-images-for-dotnet-11-rc1

Conversation

Copilot AI commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

.NET 11 RC1 projects were scaffolded with Preview runtime and SDK images, causing incompatibility with the RC1 application. Generate stable .NET 11 image tags instead.

  • Image tags: Remove the -preview suffix while preserving Windows Nano Server tags.
  • Example:
    FROM mcr.microsoft.com/dotnet/aspnet:11.0 AS base
    FROM mcr.microsoft.com/dotnet/sdk:11.0 AS build

Co-authored-by: bwateratmsft <36966225+bwateratmsft@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Container Tools to generate correct Docker images for .NET 11 RC1 Generate stable .NET 11 container image tags Sep 30, 2026
Co-authored-by: bwateratmsft <36966225+bwateratmsft@users.noreply.github.com>
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) marked this pull request as ready for review September 30, 2026 15:14
Copilot AI balanced review requested due to automatic review settings September 30, 2026 15:14

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.

Copilot review overview

🟢 Approval recommended

The targeted version-threshold change correctly addresses the reported .NET 11 RC1 incompatibility without affecting Nano Server suffixes.

Review effort: Balanced
Findings: None

What changed in this PR

Updates .NET scaffolding so .NET 11 projects use stable SDK and runtime image tags.

Changes:

  • Moves the preview-image threshold from .NET 11 to .NET 12.
  • Preserves existing Windows Nano Server tag handling.
File Description
extensions/​vscode-containers/​src/​scaffolding/​wizard/​netCore/​NetCoreGatherInformationStep.ts Generates stable image tags for .NET 11 projects.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) marked this pull request as ready for review October 6, 2026 18:32
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) merged commit 7a3c5c3 into main Oct 6, 2026
3 checks passed
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) deleted the copilot/fix-docker-images-for-dotnet-11-rc1 branch October 6, 2026 18:32
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.

Container Tools generates .NET 11 Preview Docker images for .NET 11 RC1 projects

4 participants