-
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
No .NET SDKs were found #8327
Comments
@mfalagan did you download and install the SDK itself and not, say, a runtime? e.g. SDK 7.0.202 on this page -https://dotnet.microsoft.com/en-us/download/dotnet/7.0. |
Yes, I had installed the SDK. Anyway, I tried again with the SDK you provided, and still had no luck. I see you added the needs more info label, I'm not well versed in github issues, so I'd greatly appreciate if you could specify which more useful information I could provide, I would be happy to do so. I am not sure either whether this issue of mine belongs here, as seemingly it is an issue with my installation athe than with the SDK. Please, if I should seek help somewhere else, do tell me. Thank you for your assistance in any case. |
It looks like you might have both x86 and x64 versions of .NET installed, which can cause what you're seeing. I'd suggest taking a look at |
This issue is stale because there has been no response to a request for more information for 7 days. |
This issue was closed because there was no response to a request for more information for 10 days. |
I have the same problem, but the |
On Windows you have to run |
For everyone still stuck, I had the Runtime and the SDK in different folders, you have to have them in the same folder.
|
I was able to temporarily fix this, it was an issue with the path. After running
|
Hi, I also encountered this problem. In my case what helped was installing the SDK again, because the version that the site downloaded automatically was x64 and I needed x86. |
Cara, eu amo você. Escrevi no terminal dotnet --info para ver os sdks e não aparecia nada, depois que li seu comentário percebi algo: Host: Estava baixando o x64 tbm kakakaka |
The site should actually be referring you to the proper arch based on your machine information. To be certain, you should go to the about your PC and confirm the processor type of your machine. However, many people encounter issues with their PATH. Check out these instructions: If you really have an x86 machine and the website is showing x64, can you please log an issue at https://github.com/dotnet/website-feedback? @isaqueMarinh0 para você também. Por favor confirme se a sua máquina é realmente x86 ou se o dotnet está invocando x86 por cause de um problema no PATH. |
Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating System: windows
After installing the dotnet SDK as specified in the "Download and Install" section in the tutoial, I tried running the
dotnet new console -o MyApp -f net7.0
command, which produced the following message:running
dotnet --info
yields the following:I tried restarting my compute after installing the SDK, and reinstalling it, to no avail.
The text was updated successfully, but these errors were encountered: