Skip to content

fsharp compiler

Zeioth edited this page Aug 25, 2023 · 16 revisions

You MUST have a .fsproj project file in your current working directory in order for the F# compiler to work correctly. The available options for the F# compiler are

  • Dotnet build and run
  • Dotnet build
  • Dotnet run REPL

screenshot_2023-08-24_08-15-42_453035885

Example of using Dotnet run this file on REPL:

screenshot_2023-08-24_08-23-00_656700441

Considerations

As you can see we don't offer the usual compilation options build & run, build, run, and build solution for F#. They can't be implemented because dotnet is extremely privative in how they let their users compile. This might change in the future.

In the meantime use .fsproj files instead of .solution.toml files in your F# projects.

Clone this wiki locally