Please see monogame-fsharp for an updated sample using MonoGame 3.8 and .NET Core 3.1.
A sample solution using MonoGame with F#, incorporating Paket and FAKE 5.
- Install MonoGame (at least v3.6), noting the installation path.
- Install the .NET Core SDK (at least v2.1.301).
- Open a new command prompt and install the FAKE 5 CLI using
dotnet tool install fake-cli -g
.
- Clone the repository.
- If your MonoGame installation path is not
C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools\MGCB.exe
, editMonoGame.fsx
accordingly. - Build and run using
fake build -t RunApp
. - You should see the triangle below.