Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i install MonoGame into Visual Studio 2013?

How can I install MonoGame templates for Visual Studio 2013?

like image 401
Juraj Mlich Avatar asked Sep 22 '13 13:09

Juraj Mlich


People also ask

How do I add MonoGame to Visual Studio?

Start Visual Studio 2022 and select New Project... in the upper left corner. You should see the "Create a new project" dialog pop up. From here, select the Templates > Visual C# > MonoGame category, and then select MonoGame Cross Platform Desktop Project.

Do you need Visual Studio for MonoGame?

Before using MonoGame, you will need to install Visual Studio 2022 or later (any edition, including Community) with the following workloads, depending on your desired target platform(s): . NET desktop development (mandatory for all platforms) Mobile Development with .


3 Answers

Assuming you want C# templates:

  • Install MonoGame from here

  • Find the Visual Studio templates folder (usually C:\Users[your user name]\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#)

  • Copy the MonoGame folder to the Visual Studio 2013\Templates\ProjectTemplates\Visual C# folder.

like image 86
PMC Avatar answered Oct 11 '22 16:10

PMC


UPDATED 7 January 2014

For people who want to use Monogame can download the 3.2 which provide the support for 2013.

The installer are available at http://build.monogame.net/job/develop-win/lastSuccessfulBuild/artifact/Installers/Windows/

If you try this way you don't need to do any kind of copy-paste for project templates.

UPDATED 9 January 14

3.2 build have some trouble now. Check the very common issue here http://monogame.codeplex.com/discussions/467277

like image 45
Anirudha Gupta Avatar answered Oct 11 '22 15:10

Anirudha Gupta


The Paul McCowat's answer is correct.

Also, if you doesn't have visual studio 2012 in your machine, just create the folders hierarchy as he said. (C:\Users[your user name]\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#) Then the Monogame installer can find the folder to copy the templates.

Update: I don't have visual studio 2012 installed in my machine, so I had some problems to resolve in this way.

I edited some files on every template I wanted to use, searching for references of DLLs of visual studio 2012, then i changed the versions of these DLLs from 11 to 12.

Now it works!

like image 44
Thiago Romam Avatar answered Oct 11 '22 16:10

Thiago Romam