Skip to content
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

It was not possible to find any installed .NET Core SDKs #6095

Closed
JohnGuih opened this issue Mar 28, 2021 · 7 comments
Closed

It was not possible to find any installed .NET Core SDKs #6095

JohnGuih opened this issue Mar 28, 2021 · 7 comments
Labels
area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested.

Comments

@JohnGuih
Copy link

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/create
Operating System: windows 10

I trying to do the tutorial but i am getting stuck when i use the command "dotnet new webApp -o myWebApp --no-https" the terminal send me this:
"It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download"

@mairaw
Copy link
Contributor

mairaw commented Mar 29, 2021

Hi @JohnGuih, can you paste the output of running the command where.exe dotnet?

If your system is x64 and the output returns the following:
C:\Program Files (x86)\dotnet\dotnet.exe
C:\Program Files\dotnet\dotnet.exe

You might be able to fix that as explained here: #5962 (comment)

@mairaw mairaw added area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested. labels Mar 29, 2021
@JohnGuih
Copy link
Author

Thank you for your help

C:\Users\User>where dotnet
C:\Program Files (x86)\dotnet\dotnet.exe
C:\Program Files\dotnet\dotnet.exe

@no-response no-response bot removed the needs-more-info Not enough information has been provided. Please share more detail as requested. label Mar 29, 2021
@mairaw
Copy link
Contributor

mairaw commented Mar 29, 2021

That seems like the same issue then. Your machine is x64, correct?

If so, try the steps at #5962 (comment).

Let me know if that works.

@mairaw mairaw added the needs-more-info Not enough information has been provided. Please share more detail as requested. label Mar 29, 2021
@no-response
Copy link

no-response bot commented Apr 6, 2021

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.

@no-response no-response bot closed this as completed Apr 6, 2021
@ElvenSpellmaker
Copy link

ElvenSpellmaker commented May 11, 2021

For those who stumble upon this and are trying to get a Web App in a container working, for me you need to set the WEBSITES_ENABLE_APP_SERVICE_STORAGE to false, else it obliterates your /home/site/wwwroot directory.

Azure/azure-cli#16738 (comment)

@hrai
Copy link

hrai commented Nov 12, 2021

Hi @JohnGuih, can you paste the output of running the command where dotnet?

If your system is x64 and the output returns the following: C:\Program Files (x86)\dotnet\dotnet.exe C:\Program Files\dotnet\dotnet.exe

You might be able to fix that as explained here: #5962 (comment)

I had to run where.exe dotnet

@mairaw
Copy link
Contributor

mairaw commented Nov 12, 2021

Thanks @hrai. I've updated my comment here. I've changed my suggestion on recent issues to where.exe dotnet so it works on both command prompt and PowerShell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested.
Projects
None yet
Development

No branches or pull requests

4 participants