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

Issue with "create your app" step #6609

Closed
raband-cdw opened this issue Aug 19, 2021 · 5 comments
Closed

Issue with "create your app" step #6609

raband-cdw opened this issue Aug 19, 2021 · 5 comments
Labels
area-tutorials Issues related to getting started tutorials

Comments

@raband-cdw
Copy link

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

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Running through the steps on my windows 10 machine with the "dotnet-sdk-5.0.400-win-x64" install files the first step worked as outlined, but the newconsole cmd didn't.

C:\Users\user1>dotnet

Usage: dotnet [options]
Usage: dotnet [path-to-application]

Options:
-h|--help Display help.
--info Display .NET Core information.
--list-sdks Display the installed SDKs.
--list-runtimes Display the installed runtimes.

path-to-application:
The path to an application .dll file to execute.

C:\Users\user1>dotnet new console -o myApp
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 Aug 19, 2021

@raband-cdw You might be running into this issue: #5962

Can you let us know what is the output of where.exe dotnet?

@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 Aug 19, 2021
@raband-cdw
Copy link
Author

image

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

mairaw commented Aug 19, 2021

It looks like you have both x86 and x64 versions installed. Fixing the path should fix your problem as outlined in #5962 (comment)

Let us know if that worked!

@mairaw mairaw closed this as completed Aug 19, 2021
@raband-cdw
Copy link
Author

That did it thanks!

@mairaw
Copy link
Contributor

mairaw commented Aug 19, 2021

Great to hear!

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
Projects
None yet
Development

No branches or pull requests

2 participants