Building Fsharp project on MacOs .net6 SDK

Viewed 24

When building Fsharp project I'm geting : Could not execute because the specified command or file was not found. Build resulting in Microsoft.FSharp.Targets(317, 9): [MSB6006] "dotnet" exited with code 1.

from build log: Possible reasons for this

  • You misspelled a built-in dotnet
  • You intended to execute a .NET program, but dotnet--o:obj/Debug/net6.0/***.Prover.Data.dll does not exist
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

/usr/local/share/dotnet/sdk/6.0.400/FSharp/Microsoft.FSharp.Targets(317,9): error MSB6006: "dotnet" exited with code 1.

Using <PackageReference Include="FSharp.Data.SqlClient" Version="2.1.2" />

I guess my question is if anyone have had any luck geting Fsharp projects to build correctly using Framework net6.0 on macOS

0 Answers
Related