Monogame Template Wont Compile

So I’m using Visual Studio Community 2017 and MonoGame 3.7.1

All templates load fine, and Im able to start any thats not the problem.

Im following the documentation about setting up a new project.

But I cant get the thing to run (the simple blue screen). It keeps erroring out with the following error:

Severity Code Description Project File Line Suppression State
Error The command ““C:\Program Files\MSBuild\MonoGame\v3.0\Tools\MGCB.exe” /quiet /platform:DesktopGL /@:“C:\Users\Joshua\source\repos\TestMonogame\TestMonogame\Content\Content.mgcb” /outputDir:“bin\DesktopGL\Content” /intermediateDir:“obj\DesktopGL\Content”” exited with code -1. TestMonogame`

This same error occurs for both Cross Platform and Just windows templates. Any help in the right direction would be greatly appreciated.

First thing that comes to mind is checking that this executable exists and that you can run it. I think it’s 64-bit only. (If you’re in a 32 bits environment that could be the problem)

1 Like

Ah-hah! It is a whole 32/64 issue. Thanks for pointing me in the right direction.

1 Like