How to open a new MonoGame Desktop Project in Visual Studio 2019 Community Edition?
Asked Answered
D

2

5

I heard that MonoGame is a replacement for XNA but i do not know how to open the desktop project.

Specifically, what workload should I install to be able to develop MonoGame projects on Windows?

Dalpe answered 10/9, 2019 at 23:48 Comment(1)
I don't really get your question. First, you download the framework from monogame.net/downloads and then you create a new Monogame project in VS. Or do you mean something else?Stepup
R
10

MonoGame v3.7.1 doesn't officially support Visual Studio 2019 but that's only because it doesn't install the Visual Studio Project Templates in the right place.

There are number of workarounds to this issue including this one by uranusexplorer:

I could not find templates for VS 2017 anywhere, so I had to install VS 2017 to get them. Leaving them here until there is support for Visual Studio 2019 in the official MonoGame installer.

Download MonoGame Visual Studio Templates

Unzip to Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C#

Funnily enough, I actually created a MonoGame Hello World project on github recently for this exact reason. If you just want to get started you can download that project and open it in Visual Studio 2019.

Alternatively you can create a MonoGame .NET Core project which will also work in Visual Studio 2019.

Rolland answered 13/9, 2019 at 1:54 Comment(0)
B
0

MonoGame is not installed with Visual Studio (neither was XNA, btw). You need to install it separately. The process is well described in their documentation: http://www.monogame.net/documentation/?page=Setting_Up_MonoGame

Belemnite answered 12/9, 2019 at 13:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.