I'm using XNA 3.1 ( .NET 3.5 ) and my program closes without any warning, errors, or code instructing it to do so. I looked in the output, and there aren't any obscure messages outside of telling me that certain modules had been loaded and the program was optimized. FURTHERMORE, this doesn't occur on my own personal computer. It only happens on my school computers and my mom's laptop which makes me wonder if there's a hardware issue ( ? ). The schools run Windows XP, and the laptop runs Windows 7. Both of them have the full SDK installed, so it's not a dependency problem. Does anybody have any advice for this?
Sometimes it will run for 2 seconds. Other times it will run for about 10. Sometimes if I rebuild it enough times, it runs and doesn't crash ( or rather, the "countdown" was severely extended somehow. I don't really know. )
( I would post code, but since I have absolutely no clue where my code is doing stuff wrong, that's kind of a challenge ).
Program.cs
file (as per the template), you can wrapgame.Run();
in a try/catch block to the same effect. – Andrew Russell Apr 28 at 7:39