Tutorials Icon

Tutorials > Creating a MonoGame 3.7.1 Project in Visual Studio 2019

Creating a MonoGame 3.7.1 Project in Visual Studio 2019

By Stephen Armstrong // October 22, 2019

How to create your first MonoGame project.

  1. Open Visual Studio 2019.
  2. Click Create a new project
    A screenshot of Visual Studio 2019.
  3. In the Create a new project window search bar, search for “monogame”.
  4. Select MonoGame Cross Platform Desktop Project and click Next.
    A screenshot of Visual Studio 2019.
  5. In the Configure your new project window, enter a Project name. This will be the game’s name.
  6. Click … to select a location to save the project.
  7. The Solution name can be the same as the Project name, or it can be different.
    A screenshot of Visual Studio 2019.
  8. Click Create and the project will be created and opened.
  9. On the right side of the screen will be the Solution Explorer (if the Solution Explorer does not appear, click View > Solution Explorer to open it).
    A screenshot of Visual Studio 2019.
  10. Find Game1.cs in the Solution Explorer and double click to open it.


Game1.cs is the main class in your game.

A screenshot of Game1.cs.

There are default Fields to manage your graphics device and for drawing sprites to the screen (GraphicsDeviceManager and SpriteBatch respectively).

There are default Methods for initializing your game, loading content, unloading content, updating your game, and drawing your game.

For now, click Start Debugging button (or click Debug > Start Debugging) and you will be greeted by MonoGame’s trademark cornflower blue window.

A screenshot of Game1.cs.

The foundation for your game has been laid. Now it’s time to add to it.

Further reading

The Update() cycle: https://www.industrian.net/tutorials/monogame-update/
The Draw() cycle: https://www.industrian.net/tutorials/monogame-draw/
Adding content to your game: https://www.industrian.net/tutorials/monogame-using-the-content-pipeline/

< Go back

Return to top of page

Article Icon

Welcome to Industrian.net!

On this website you'll find more information about our games, and also some tutorials for you to start making games of your own! You can also follow us on various social platforms!