Skip to content

Can't build VisualFSharp.sln using dotnet or Rider #18886

@auduchinok

Description

@auduchinok

Previously it always worked after a one time build.cmd call. Now it fails, which means IDEs that use dotnet build no longer can build this solution.

Eugene.Auduchinok@NVC00221 MINGW64 /c/Developer/fsharp-vs (main)
$ dotnet build VisualFSharp.sln
Restore complete (3,2s)
  FSharp.Core netstandard2.0 failed with 1 error(s) (0,6s)
    C:\Developer\fsharp-vs\artifacts\Bootstrap\fsc\Microsoft.FSharp.Targets(354,9): error MSB6006: "fsc.exe" exited with code -2147450730.
  FSharp.UIResources succeeded (0,2s) → artifacts\bin\FSharp.UIResources\Debug\net472\FSharp.UIResources.dll
  shims succeeded (0,1s) → artifacts\bin\shims\Debug\net472\shims.dll
  FSharp.Core netstandard2.1 failed with 1 error(s) (0,0s)
    C:\Developer\fsharp-vs\artifacts\Bootstrap\fsc\Microsoft.FSharp.Targets(354,9): error MSB6006: "fsc.exe" exited with code -2147450730.
  FSharp.Benchmarks.Common failed with 1 error(s) (0,1s)
    C:\Developer\fsharp-vs\artifacts\Bootstrap\fsc\Microsoft.FSharp.Targets(354,9): error MSB6006: "fsc.exe" exited with code -2147450730.
  FSharp.Editor.IntegrationTests succeeded (0,1s) → artifacts\bin\FSharp.Editor.IntegrationTests\Debug\net472\FSharp.Editor.IntegrationTests.dll
  CSharp_Analysis succeeded (1,4s) → artifacts\bin\CSharp_Analysis\Debug\netstandard2.0\CSharp_Analysis.dll
  MicroPerfCSharp succeeded (1,7s) → artifacts\bin\MicroPerfCSharp\Debug\net10.0\MicroPerfCSharp.dll
  Microsoft.CommonLanguageServerProtocol.Framework.Proxy succeeded (2,4s) → artifacts\bin\Microsoft.CommonLanguageServerProtocol.Framework.Proxy\Debug\net8.0\Microsoft.CommonLanguageServerProtocol.Framework.Proxy.dll
  FSharp.ProjectSystem.Base succeeded (3,5s) → artifacts\bin\FSharp.ProjectSystem.Base\Debug\net472\FSharp.ProjectSystem.Base.dll
  FSharp.ProjectSystem.PropertyPages succeeded (2,6s) → artifacts\bin\FSharp.ProjectSystem.PropertyPages\Debug\net472\FSharp.ProjectSystem.PropertyPages.dll

Build failed with 3 error(s) in 9,4s

This is an almost clean Win11 machine with only .NET SDK, Rider/VS and Git for Windows installed.

The shell used is Bash from Git for Windows in Windows Terminal.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions