This project has moved and is read-only. For the latest updates, please go here.

[HELP] Installing XNA Game Studio 4 on Windows 8 with WP8 SDK with VS2012.

Topics: Developer Forum
Dec 11, 2012 at 12:33 PM

Installing XNA Game Studio 4 throws this error:

Running Farseer Testbed on VS2012:

Dec 11, 2012 at 12:58 PM


As it has always been, certain versions of XNA are bound to a specific version of Visual Studio. In case of XNA 4 it is VS 2010. Things like the Content Pipeline won't work in VS 2012.

Farseer (the class version) works with VS 2012 / Win 8. The Samples and Testbed won't because they are build upon XNA.

Since the future of XNA is quite uncertain (aka it is not developed further at the moment) your choices are basically:

- Stick with VS 2010 / XNA 4 and target Win7 / Xbox360 with your stuff. Applications build that way will work under Windows 8 as a Desktop Application since the XNA 4 Redistributable works. But no Metro / Windows RT / Windows 8 Phone / ...

- Go for something else like SlimDX as a Framework. It is more low level than XNA and probably not as convenient. But it is also C#/.NET and Farseer will work. But stuff like SpriteBatch, etc. is gone and you have to code that manually or use third party solutions like other peoples engines (Flat Red Ball for instance).

- Try out Mono and MonoGame (their version of XNA). This will involve a lot of fiddling around to get everything to work (MonoGame is not yet feature complete and some XNA stuff does not exist). Bonus: You might get your stuff to work on Android / iOS (SpaceChem did this for instance).

- Wait for the next Xbox to arrive and see if a new version of XNA or some kind of successor arrives with it. But I won't count on that, since MS sadly does not seem to see much benefit in having something like XBLIG anymore.

I'd go for Windows 7 / Windows 8 Desktop development for now and if something good comes out of it I'd rather try to get on Steam Greenlight/Desura/... instead of XBLIG.

P.S. I know that with enough fiddling around people got XNA 4 working in VS 2012. But at the cost of a working Content Pipeline and probably a build process where you have to intervene manually here and there. That is nice as a proof that it can be done but nothing you'd want to work with imho ;)

Dec 11, 2012 at 1:07 PM
Edited Dec 11, 2012 at 1:08 PM

Thanks a lot bro, that was long. :)

I've seen already many people jumping on MonoGame and I will try it too. And my main target right now is Windows Phone, Android, Windows 8.

Also saw a post that this: can fix the issue. But not sure if it'll work with WP8 SDK. I have it installed now and reinstalling the WP8 SDK and will see if it can fix it. If not maybe just install the Visual Studio 2010 version?