BrainGrid

MonoGame Development Requirements

One framework for creating powerful cross-platform games.

Used in: 1 reposUpdated: recently

MonoGame Development Requirements

Depending on the platform that you are targeting, MonoGame has different sets of requirements.

#For desktop platforms

====================

MonoGame requires a minimum of the .NET 8 SDK installation, however .NET9+ is recommended. You can either install it independently, or by selecting the ".NET desktop development" workload when installing Visual Studio 2022 (version 17.8 and up required).

If you are targeting WindowsDX, you are also going to need the DirectX June 2010 runtime for audio and gamepads to work properly.

When it comes to IDE, Visual Studio (2022/2026) and Visual Studio Code are supported (alternatively, you can work directly from the CLI with your code editor of choice). JetBrains Rider should work but is not officially supported.

Desktop development is possible from any operating system supporting the above mentioned software.

[!IMPORTANT] The UWP platform is being deprecated as of the 3.8.2 release due to Microsoft reducing/removing support for this deployment mechanism.

#For mobile platforms

====================

MonoGame requires the dotnet workloads for iOS or Android depending on the target.

In Visual Studio 2022/2026 you can install both by selecting the ".NET Multi-platform App UI Development" workload. For VSCode, Rider or CLI development, you will need to manually install the DotNet SDK and then install the iOS and/or Android workloads using dotnet workload install maui ios android (delete either iOS or Android if you are not intending to use).

[!NOTE] MAUI is required for either mobile platform as it includes debugging tools needed for mobile applications.

Visual Studio (2022/2026), VSCode and Rider are supported in those contexts.

[!IMPORTANT] Mobile development is not possible from Linux.

#For Modern platforms (Vulkan / DX12)

======================================

With the addition of the new development platforms, there are additional dependencies required to support these targets, namely:

  • The Vulkan SDK required for using Vulkan targets. (Make sure to run the setup script setup_env.sh on Mac/Linux)
  • The Java SDK, min version 17.
  • DirectX 12 (Windows Only) should be installed by default, you can check here.

#Building from Source

=======================

If you are intending to build MonoGame from source, there are a few extra build dependencies required:

  • The Premake5 executable, downloaded and added to your machines "Path".

[!IMPORTANT] Make sure to download the "Latest" Premake 5 (5.0.0-beta7 at time of writing) as earlier versions of Premake will not work.

#Using the Binaries releases

==============================

Binaries releases are now available through the published releases as optional downloads.

Guidance for using the binaries is available in the PR request that added the feature, official documentation is still being worked on.

Quick Actions

Details

Author
MonoGame
Slug
monogame/monogame-development-requirements