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

Unable to run HelloWorld Sample - Windows #50

Closed
ghost opened this issue Jan 20, 2016 · 3 comments
Closed

Unable to run HelloWorld Sample - Windows #50

ghost opened this issue Jan 20, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 20, 2016

Following the straight forward instructions at http://dotnet.github.io/getting-started/, I am unable to get Hello World running, as it crashes on dotnet restore (see screenshot).

I've attached a ZIP with the code that is generated on dotnet new.

Am I missing something obvious?

dotnetcoreerror

dotnetcore.zip

@ghost
Copy link
Author

ghost commented Jan 21, 2016

Additional Information:

OS: Windows 10 Pro
Visual C++ Redistributable for Visual Studio 2015 is installed

@saurabh500
Copy link

@misnor I faced a similar problem and found that Dotnet CLI should be installed at a path which doesn't have spaces in it.
Are you installing in C:\Program Files\dotnet ?
I changed my installation path to C:\dotnet and I can run the Hello World app.
This is only a workaround

@ghost
Copy link
Author

ghost commented Jan 21, 2016

@saurabh500 , thank you for the quick reply. You are spot on with the cause of the issue. Default installation path is C:\Program Files\dotnet, a reinstall to C:\dotnet and dotnet restore works as expected.

Thank you!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant