-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS: Show correct arm64 architecture #320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How have you tested this? I don't see code changes that I have a problem with, but I don't know without testing whether this is sufficient or not, and I don't have an M1 mac for testing myself.
Yes, tested this on an M1 Mac VM with several arm64 and one x64 sdks installed. I'm also ok with performing more tests (installing the x64 version first as it seems to have an effect on the current implementation) beforehand :) |
DotNetRuntimeInstallPath(EmulatedDotNetInstallPath), | ||
DotNetAspAllInstallPath(EmulatedDotNetInstallPath), | ||
DotNetAspAppInstallPath(EmulatedDotNetInstallPath), | ||
DotNetHostFxrInstallPath(EmulatedDotNetInstallPath))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was also addressed in #228
Closes #297 #221
When listing runtimes and sdk's on arm Macs, the architecture should be displayed as arm64 instead of x64.
Currently this is not figured out on a by version lookup, but based on the first directory on the sdk installs directory
list
dry-run