-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
(dotnet-sdk-6.0.100-osx-x64) cannot be installed #6903
Comments
So did you manage to install the SDK or not? And what is your macOS version? Here are some topics that perhaps might help you: |
I'm facing the same problem. And I just downloaded for Operating System: macOS Monterey 12.0.1 |
thank you for your reply. The reason I'm asking this question is that I got the error [The .NET Core SDK cannot be located. .NET Core] when I was using VSCode. |
But VS Code is working fine now. |
Are you being able to follow the tutorial now @Ktomo1995s? The SDK (or the .NET Coding Pack for VS Code) is necessary for you to create .NET applications. |
Same issue here with .Net SDK standalone installation. home@Air-di-Enrico ~ % dotnet Spotlight didn't find any folder dotnet/sdk or something else. I manually search for dotnet, there isn't on HD. home@Air-di-Enrico ~ % dotnet Usage: dotnet [options] So, there is some problem with standalone package |
@marcpopMSFT can you check this issue? |
Did the customer install the arm64 or the x64 version of the SDK? If I were guessing based on the details of not finding it, I'd guess x64 which no longer sets itself on the path by default and installs to an alternative location. See more details here: dotnet/sdk#22380 CC @richlander |
Assuming this is an M1 machine. Check that This could also happen if you install x64 SDK instead of arm64. Be sure you're downloading and installing the I strongly suspect you accidently installed x64. It looks like this is actually what's recommended by default for M1 machines on get.dot.net. (a bug that should be fixed with that web page) If this didn't help resolve the issue, to collect some information, run the following commands and share the result with us:
If you suspect a problem during installation you can access installation logs during an install using |
@ericstj You're right. The automatic recommended package on Website is wrong for M1 machines. |
@richlander and I were discussing about the page detecting the right OS but there seems to be some issues about user-agent info on M1 machines. A quick workaround would be to offer both x64 and Arm64 on that page until we can figure out if we can show just one. @adegeo do we cover this scenario on the install docs for macOS as @ericstj described above with the location changes for Arm64? |
This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further. |
Still the problem exists with M1 machine, |
@kumarrrr try installing the Arm64 version for your M1 machine. |
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos
I installed cannot be installed, but when I enter (dotnet), it outputs (zsh: command not found: dotnet).
Please tell me how to solve the problem.
The text was updated successfully, but these errors were encountered: