I've been trying to get started with Monogame, and so I've installed VS2015 community, and then the latest Monogame version. I then created a new "MonoGame Cross Platform Desktop Project" and got the standard default "cornflower blue" window template program.
I have a few weird things going on though that maybe someone can help with:
- If I run the program from VS with Debug/Release & x86 configuration, it will try and run, no window appears, and in the output console it says:
The program ' test123.vshost.exe' has exited with code 1080890248 (0x406d1388).
In the windows event viewer, it has a more detailed error about it, saying:
Faulting module name: KERNELBASE.dll, version: 10.0.14393.479, time stamp: 0x58256d37
- However, if I manually run the built test123.exe from the bin/DesktopGL/x86/Debug folder, it runs fine (although the window position is weird and not centered). Running under Debug & x64 config works fine directly from Visual Studio as well.
Has anyone got any ideas why it won't run correctly from inside VS? I've tried reinstalling both VS and Monogame but nothing seems to fix the problem. I can continue with using x64 of course for development, but it bothers me that something isn't set up correctly. Thanks.