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

dotnet run fails to run project #66

Closed
rishavs opened this issue Jul 4, 2017 · 3 comments
Closed

dotnet run fails to run project #66

rishavs opened this issue Jul 4, 2017 · 3 comments

Comments

@rishavs
Copy link

rishavs commented Jul 4, 2017

Hi
I created a sample project using dotnet new giraffe
After this i used dotnet restore
When i do dotnet run, i get the following error;

PS C:\Users\Mockingbird\DevSpace\DotNet\giraffe> dotnet run
C:\Users\Mockingbird\DevSpace\DotNet\giraffe\Program.fs(62,10): error FS0039: The field, constructor or member 'UseWebRoot' is not defined. [C:\Users\Mockingbird\DevSpace\DotNet\giraffe\DotNet.fsproj]

The build failed. Please fix the build errors and run again.

my dotnet version is 1.0.4
I am on windows 10, 64 bits

@slang25
Copy link
Member

slang25 commented Jul 4, 2017

@rishavs thanks for the bug report.

This was fixed yesterday in #64 and should be resolved in the next release.

For now you can manually workaround it by simply moving the ) at the end of the line 62 to the end of line 61.

@dustinmoris
Copy link
Member

dustinmoris commented Jul 5, 2017

Hi, sorry about the delay in getting the new NuGet package out. I have released the fix by @GraanJonlo now.

Make sure you pull the latest giraffe-template:

dotnet new -i giraffe-template::0.1.6

That should work, I just pulled it myself and tested that a clean dotnet restore and dotnet run work as expected.

Thanks @slang25 for helping @rishavs with the workaround!

@rishavs
Copy link
Author

rishavs commented Jul 5, 2017

Thank you for the quick fix.

EDIT: confirming that it works now.

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

3 participants