Skip to content

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

Closed

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

Activity

  1. removed their assignment
    on Feb 16, 2021
  2. transferred this issue fromdotnet/sdkon Feb 16, 2021
  3. ghost added
    untriaged
    on Feb 16, 2021
  4. jeffschwMSFT commented on Feb 17, 2021

    @jeffschwMSFT
    Member

    Seems related to #48389

  5. sdmaclea commented on Feb 17, 2021

    @sdmaclea
    Contributor

    This is the issue with not supporting side by side arm64 & x64 installs.

    /cc @vitek-karas @richlander

  6. changed the title [-][ARM64]Running "Dotnet --info" failed if install SDK 6.0-osx-arm64 at first and then install VSM.[/-] [+][ARM64/x64]Running "Dotnet --info" failed if install SDK 6.0-osx-arm64 at first and then install x64 VSM.[/+] on Feb 17, 2021
  7. added this to the 6.0.0 milestone on Jul 9, 2021
  8. removed
    untriaged
    on Jul 9, 2021
  9. vitek-karas commented on Jul 9, 2021

    @vitek-karas
    Member

    The host work has been done (host now supports arm64/x64 side-by-side), but this also needs installer changes so that the architectures are layed out into the right location.

  10. richlander commented on Jul 9, 2021

    @richlander
    Member

    Yup. This scenario is dependent on this design/project: dotnet/designs#217

  11. agocke commented on Jul 29, 2021

    @agocke
    Member
  12. ghost locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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