
This section walks you through the basics of MonoGame and helps you create your first game. Fortunately there is an easy workaround if you have the Visual Studio 2017 templates. Without these MonoGame templates, you will be unable to start a new MonoGame project. MonoGame will now be installed on your computer, but the installer does not include templates for Visual Studio 2019. For a step-by-step walkthrough of the code, check out the MonoGame 2D tutorial on. Install MonoGame 3.6 for Visual Studio from Clone or download this repository Open MonoGame2D.sln in Visual Studio. NET CLI or Rider IDE dotnet new -install section provides a step-by-step guide for setting up your development environment for Windows. dotnet tool install -global dotnet-mgcb-editor


To register the MGCB Editor tool with Windows and Visual Studio 2019, run the following from the Command Prompt. mgcb files, which are used for building content. You now have the MonoGame templates installed, ready to create new projects. Once it's open, simply search for MonoGame in the top right search window, as shown above, and install the "MonoGame project templates". To create new projects from within Visual Studio, you will need to install the Visual Studio 2019 extension, which can be installed from " Extensions -> Manage Extensions" in the Visual Studio menu bar. Install MonoGame extension for Visual Studio 2019 If you are targeting the standard Windows DirectX backend, you'll also need the DirectX June 2010 runtime for audio and gamepads to work properly. Net Desktop Development - For Desktop OpenGL and DirectX platforms to target normal. Universal Windows Platform development - For Windows 10 and Xbox UWP platforms.NET cross-platform development - For Desktop OpenGL and DirectX platforms Install Visual Studio 2019īefore installing Monogame, you'll need to install Visual Studio 2019 or later (any edition, including Community) with the following components, depending on your target platform:


This section provides a step-by-step guide for setting up your development environment for Windows. Setting up your development environment for Windows
