I have develop an XNA game on computer 1. When I send it to computer two (and I have everything to be able to run XNA Code). When the program execute game.run, I get an InvalidOperationException.
I didn’t tried to run code from computer two on computer one. But I know that both machine can run the code I’ve wrote on them.
Do you have any idea ?
EDIT : Oh, I added the asnwer, but I can’t select my post as the answer…
CallStack :
App.exe!App.Program.Main(string[] args = {Dimensions:[0]}) Line 14 C#
And here is the code
static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } } }
And the same code run on another machine
I finally found the problem. For a reason, the hardware acceleration setting was set to None. So the project wouldn’t start.
Thanks for all your reply.