Skip to content

[ARM64/x64]Running "Dotnet --info" failed if install SDK 6.0-osx-arm64 at first and then install x64 VSM. #48343

@NicoleWang001

Description

@NicoleWang001

Affected Mac:
Mac OS: Big Sur(11.2) - Apple M1 chip
VSFM:8.9 Preview (8.9 build 1582)
3.1.406(runtime:3.1.12) & 5.0.103(runtime:5.0.3)
.NET 6 arm64: 6.0.100-preview.1.21103.13(runtime 6.0.0-preview.1.21102.12)

Steps to reproduce:
1. Install dotnet-sdk-6.0.100-preview.1.21103.13-osx-arm64
2. Run "Dotnet --info"
3. Install VSM8.9 Preview(8.9 build 1582)
4. Run "Dotnet --info"

Expected result:
Twice "Dotnet --info" can Running success

Actual result:
The second “Dotnet --info” running failed whit err
image

Note:
1.re-install dotnet-sdk-6.0.100-preview.1.21103.13-osx-arm64,run "Dotnet --info" will success

VSFM-info:
e2em1@e2eM1s-Mac-mini ~ % dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.102
Commit: 71365b4d42

Runtime Environment:
OS Name: Mac OS X
OS Version: 11.0
OS Platform: Darwin
RID: osx.11.0-x64
Base Path: /usr/local/share/dotnet/sdk/5.0.102/

Host (useful for support):
Version: 5.0.2
Commit: cb5f173

.NET SDKs installed:
3.1.405 [/usr/local/share/dotnet/sdk]
5.0.102 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions