pkese / csproj-convert

Automatically convert old style .csproj files into dotnet-core
MIT License
29 stars 3 forks source link

Build fails #2

Open ninjaboy opened 6 years ago

ninjaboy commented 6 years ago

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.

rhutchison commented 5 years ago

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 commented 2 years ago

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.