Suppose I have a .NET Core (3.1 or 5.0) solution (.sln) that contains a few F# projects (.fsproj). I can build it with dotnet build.
.sln
.fsproj
dotnet build