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 build fails #3

Open
NatElkins opened this issue Jun 20, 2019 · 2 comments
Open

dotnet build fails #3

NatElkins opened this issue Jun 20, 2019 · 2 comments

Comments

@NatElkins
Copy link

  1. git clone [email protected]:fsbolero/TodoMVC.git
  2. cd TodoMVC
  3. dotnet build

Fails with the following:

/Users/nat/.nuget/packages/microsoft.aspnetcore.blazor.build/0.7.0/targets/RazorCompilation.targets(236,5): error : rzc discover exited with code 1. [/Users/nat/Projects/TodoMVC/src/Bolero.TodoMVC.Client/Bolero.TodoMVC.Client.fsproj]

Build FAILED.

/Users/nat/.nuget/packages/microsoft.aspnetcore.blazor.build/0.7.0/targets/RazorCompilation.targets(236,5): error : rzc discover exited with code 1. [/Users/nat/Projects/TodoMVC/src/Bolero.TodoMVC.Client/Bolero.TodoMVC.Client.fsproj]
    0 Warning(s)
    1 Error(s)
➜  TodoMVC git:(master) dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview5-011568
 Commit:    b487ff10aa

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.0.100-preview5-011568/

Host (useful for support):
  Version: 3.0.0-preview5-27626-15
  Commit:  61f30f5a23

.NET Core SDKs installed:
  2.1.505 [/usr/local/share/dotnet/sdk]
  2.2.100 [/usr/local/share/dotnet/sdk]
  2.2.103 [/usr/local/share/dotnet/sdk]
  3.0.100-preview5-011568 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview5-19227-01 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview5-27626-15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
@Tarmil
Copy link
Member

Tarmil commented Jun 20, 2019

Right, this project needs to be updated to Bolero 0.5. In the meantime, it can only be compiled with dotnet 2.1; so you can do the following in the solution folder and then it will build:

dotnet new globaljson --sdk-version 2.1.500

@NatElkins
Copy link
Author

Thank you! That did the trick.

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

2 participants