Reputation: 4703
I've developed an XNA game that I'd like to show a few people at my school, but unfortunately the school computers don't have XNA or the right version of the .NET frameworks installed. And since they are school computers, I can't just just install them.
My questions is whether it is possible or not to run my game without these installed. I was hoping that I might be able to just copy some DLLs or something onto my flash drive or something similar.
Upvotes: 11
Views: 2835
Reputation: 97656
You can't run your XNA game as-is without the appropriate install. However, there's an open-source library called SilverSprite whose goal is to "Run XNA games without code changes in Silverlight 3." Obviously there's some coding -- at the least, you need some new startup code -- but they give an intro on their project page and it looks like it would probably be pretty quick to get going.
Of course this would mean anyone who wants to play your game would need the Silverlight plug-in, but if that's available on your school's computers (and it might be), then you'd just need to open a Web browser and point it to your game.
Upvotes: 3
Reputation: 564323
No - The .NET Framework requires a fairly elaborate installation. You will not be able to run an XNA game without installing the appropriate framework.
Upvotes: 13