Skip to content

[DevExE2E][Regression] The 8.0/9.0 implicit runtime(8.0.20/9.0.9) is not the same with VS carries(8.0.21/9.0.10) in the RC2 insertion PR build. #51046

@yinjiehe01

Description

@yinjiehe01

REGRESSION INFO
This issue works well on 18.0 Insiders 2 sign off build (18.0.0 Insiders [11026.189.d18.0]) that 10.0.100-rc.1.25451.107 inserted.

INSTALL STEPS

  1. Clean machine: Windows 11 24H2
  2. Install the following:

https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=12475584&view=ms.vss-build-web.run-extensions-tab

REPRO STEPS

  1. Run the following command in cmd.
    dotnet new global.json
    mkdir test
    cd test
    dotnet new console
    edit test.csproj and set TargetFramework=netx.y
    dotnet publish -r win-x64 --self-contained
  2. 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 the x.y.z msrc.

ACTUAL
The implicit runtime version is lower than expected.
Image
Image
Image

EXPECTED
Implicit runtime corresponds

dotnet --info:
.NET SDK:
Version: 10.0.100-rc.2.25475.105
Commit: 5a9d97cd5f
Workload version: 10.0.100-manifests.a6e8bec0
MSBuild version: 18.0.0-preview-25475-105+5a9d97cd5

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-rc.2.25475.105\

.NET workloads installed:
[maui-windows]
Installation Source: VS 18.0.11026.191
Manifest Version: 10.0.0-rc.1.25452.6/10.0.100-rc.1
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100-rc.1\microsoft.net.sdk.maui\10.0.0-rc.1.25452.6\WorkloadManifest.json
Install Type: Msi

[maccatalyst]
Installation Source: VS 18.0.11026.191
Manifest Version: 18.5.10727-net10-rc.1/10.0.100-rc.1
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100-rc.1\microsoft.net.sdk.maccatalyst\18.5.10727-net10-rc.1\WorkloadManifest.json
Install Type: Msi

[ios]
Installation Source: VS 18.0.11026.191
Manifest Version: 18.5.10727-net10-rc.1/10.0.100-rc.1
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100-rc.1\microsoft.net.sdk.ios\18.5.10727-net10-rc.1\WorkloadManifest.json
Install Type: Msi

[android]
Installation Source: VS 18.0.11026.191
Manifest Version: 36.0.0-rc.1.285/10.0.100-rc.1
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100-rc.1\microsoft.net.sdk.android\36.0.0-rc.1.285\WorkloadManifest.json
Install Type: Msi

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.0-rc.2.25475.105
Architecture: x64
Commit: 5a9d97cd5f

.NET SDKs installed:
10.0.100-rc.2.25475.105 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-rc.2.25475.105 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25475.105 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.0-rc.2.25475.105 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions