Skip to content

[NETSDKE2E] The implicit runtime (8.0/9.0) for NET10.0.300 should be May update(8.0.27/9.0.16). #54137

@vwenchen

Description

@vwenchen

REGRESSION INFO

N/A

INSTALL STEPS

Clean machine: Windows 11 25H2
Install SDK 10.0.300 (runtime -10.0.8)

REPRO STEPS

Run the following command in cmd.
1.dotnet new global.json
2.mkdir test
3.cd test
4.dotnet new console
5.edit test.csproj and set TargetFramework=net8.0/9.0
6.dotnet publish -r win-x64 --self-contained
7.Check the contents of test\bin\Release\net<x.y>\win-x64\publish\test.deps.json, search for “Microsoft.NETCore.App/” and see that version matches with VS carries

ACTUAL

The implicit runtime is 8.0.25/9.0.14

Image Image

EXPECTED

The implicit runtime is 8.0.27/9.0.16

dotnet info

.NET SDK:
Version: 10.0.300
Commit: d94b9ed225
Workload version: 10.0.300-manifests.b47d7e23
MSBuild version: 18.6.3+d94b9ed22

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Users\v-wenwenchen\Downloads\dotnet-sdk-10.0.300-win-x64\sdk\10.0.300\

.NET workloads installed:
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.8
Architecture: x64
Commit: 6ee4e7c318

.NET SDKs installed:
10.0.300 [C:\Users\v-wenwenchen\Downloads\dotnet-sdk-10.0.300-win-x64\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.8 [C:\Users\v-wenwenchen\Downloads\dotnet-sdk-10.0.300-win-x64\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.8 [C:\Users\v-wenwenchen\Downloads\dotnet-sdk-10.0.300-win-x64\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.8 [C:\Users\v-wenwenchen\Downloads\dotnet-sdk-10.0.300-win-x64\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
C:\Users\v-wenwenchen\9\global.json

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions