Skip to content
perpetualKid edited this page Jan 7, 2025 · 2 revisions

Prerequisites

Before building the source for first time (or after some major version upgrades when announced here), you will need to restore dotnet tools such as the Monogame effect code compiler mgfxc. Unfortunately as of now, dotnet build does not restore tools itself (dotnet bugtracker).

Use a Powershell or Developer Commandline, change to the "Source" folder, and run dotnet tool restore

cd .\Source
dotnet tool restore

The outcome should look similar to this:

image

Once done, you can build the source from Visual Studio (Build --> Rebuild Solution) or run dotnet build from command line.

image

Clone this wiki locally