devcontainers / images

Repository for pre-built dev container images published under mcr.microsoft.com/devcontainers
https://containers.dev
MIT License
1.35k stars 505 forks source link

Support .NET 9.0 #1184

Open samruddhikhandale opened 2 months ago

samruddhikhandale commented 2 months ago
gauravsaini04 commented 2 months ago

Templates - https://github.com/devcontainers/templates/pull/288 MCR Docs - https://github.com/microsoft/mcrdocs/pull/47538

gauravsaini04 commented 1 month ago

Templates and MCR docs PR's have been merged for this issue.

gauravsaini04 commented 2 weeks ago
mitchdenny commented 2 weeks ago

The .NET 9.0 GA container images are live, the dev container images should be rebuilt now.

hansmbakker commented 1 week ago

When I create a .NET 9 devcontainer now it seems the .NET 9 RC2 SDK is used - can you please publish an image using the GA version?

m-a-parent commented 2 days ago

Like @hansmbakker mentioned the 9.0 images do not have the released SDK version 9.100.0 installed. For example, the devcontainer mcr.microsoft.com/devcontainers/dotnet:1-9.0 image contains dotnet version: 9.0.100-rc.2.24474.11. When I build my project in a devcontainer based on that image I get: /usr/share/dotnet/sdk/9.0.100-rc.2.24474.11/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(326,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [path_to_my_project_csproj_file] Does anyone know when the 9.0 devcontainer images will be updated to SDK version 9.100.0?