Installing MonoGame

Page update date :
Page creation date :

Environment

Os
  • Windows 10
  • Windows 8.1
  • Windows 7
  • macOS Catalina 10.15
  • Other
Visual Studio
  • Visual Studio 2019
  • Visual Studio 2019 for Mac
MonoGame (video game)
  • 3.8

Installing Visual Studio

If you already have Visual Studio 2019 (or a later version) installed, go to the next item.

Visual Studio can be any version edition of 2019 or later. If you're an individual developer, you can also use visual Studio for free (make sure you're an available user).

Installation instructions, etc. are summarized in the following Tips.

Note that the workload you choose depends on which platform you are developing your game for. At a high a high size, please refer to the following.

Distribution
Game Behavior Platform Installation WorkloadService
Windows Desktops ZIP Distribution, Steam, DLsite etc.
Windows 10, Xbox Microsoft Store
Windows, Mac, Linux ZIP distribution, etc.
iOS, Android App Store, Google Play etc.

Install MonoGame project templates

There are several ways to install it, but it's now available on the Marketplace and nuget, so you don't have to download it.

Launch Visual Studio from the Start menu.

I want to open the IDE, so I start the project without creating it.

From the menu, select Manage Extensions.

Select Visual Studio Marketplace from the menu on the left, and then type monogame in the search entry box at the top right. You will see MonoGame project templates in the list, so press the Download button.

When the download is complete, close all Visual Studio.

The VSIX Installer will then start,click the Modify button.

When the installation is complete, close it.

You should now be able to select MonoGame projects when you create them.

Installing the MPCB Editor

The MPCB Editor is a tool that collectively manages content such as images and sounds when creating games in MonoGame. It will be required for almost all games, so let's install it. The installation is done by command.

Right-click the Start menu to launch Windows PowerShell.

Type the following command, and then press ENTER: Because it can be used in common in multiple game --global projects, we will add .

dotnet tool install --global dotnet-mgcb-editor

Wait a few minutes and the installation will be complete. By the way, when you use it for the first time, you may get a sentence of , but please ignore it because it has .NET Core 3.1 へようこそ! nothing to do with MonoGame.

In addition, type and run the following command to register for Visual Studio 2019 or the Start menu: When the run is complete, you can close PowerShell.

mgcb-editor --register

You have been registered in the Start Menu.

Visual Studio will also be able to open .m mgcb files in the MPCB editor.

All you need is installation.