Project Creation - galacticglum/MonoGameDesktopTemplate-YRDSB GitHub Wiki

NOTE: This tutorial assumes that you have already installed MonoGame (via the Installation chapter of this wiki).

Follow the steps below to create a MonoGame project.

  1. Open Visual Studio and select the new project dialog (File → New → Project).
  2. Select "Visual C#" and scroll down until you see the "MonoGame Desktop Project" template.
  1. Choose a name and click "OK".
  2. Browse to an appropriate folder on your flash drive (or hard drive on a laptop).
  3. When the project is created, double click Game1.cs in the Solution Explorer (which you should renamde before you do any real work).
  4. Click the Run button (or press F5) to verify that everything works. A blue screen should show up, telling us everything was successful.

NOTE: If you receive a compiler error, make sure that you restore the NuGet packages by right-clicking on your solution, clicking "Manage NuGet Packages", and pressing the "Restore" button in the top-right corner.