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

Build fails #2

Open
ninjaboy opened this issue May 1, 2018 · 2 comments
Open

Build fails #2

ninjaboy opened this issue May 1, 2018 · 2 comments

Comments

@ninjaboy
Copy link

ninjaboy commented May 1, 2018

Hi, this is certainly something to do with my system but the following happens when I try to either run or build the project with dotnet tools:

C:\Code\csproj-convert [master ≡]>  dotnet run analyze c:\Code\Some\Some.sln C:\Code\Some\packages\
C:\Users\Alex\.nuget\packages\fsharp.net.sdk\1.0.5\build\FSharp.NET.Core.Sdk.targets(170,9): error MSB6006: "dotnet.exe" exited with code -2147450749. [C:\Code\csproj-convert\csproj-convert.fsproj]

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

also

C:\Code\csproj-convert [master ≡]> dotnet build
Microsoft (R) Build Engine version 15.6.82.30579 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 37.41 ms for C:\Code\csproj-convert\csproj-convert.fsproj.
C:\Users\Alex\.nuget\packages\fsharp.net.sdk\1.0.5\build\FSharp.NET.Core.Sdk.targets(170,9): error MSB6006: "dotnet.exe" exited with code -2147450749. [C:\Code\csproj-convert\csproj-convert.fsproj]

Build FAILED.

C:\Users\Alex\.nuget\packages\fsharp.net.sdk\1.0.5\build\FSharp.NET.Core.Sdk.targets(170,9): error MSB6006: "dotnet.exe" exited with code -2147450749. [C:\Code\csproj-convert\csproj-convert.fsproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.95

I have the latest dotnet SDK installed.
Do you have any ideas on how to troubleshoot this? As you can see the error output i just insanely helpful.

@tsauvajon tsauvajon mentioned this issue May 3, 2018
@rhutchison
Copy link

I also ran into a build error, which I was able to resolve after I ran dotnet build -v d. It provided enough debug details to fix the issue.

@pracplayopen
Copy link

was unable to get this to build even after playing w/versions.

pretty old codebase obv- by default it complained it needed a newer dotnet to build (have both 5.0 and 6.0 runtimes and sdks installed).

tried to adjust some of the packagereferences in fsproj to use newer versions, but no success.

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