Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded the current version of Visual Studio to develop Windows Phone apps, but I don't know how to add XNA. I tried to install XNA, but it's not working with Visual Studio.

How can I use XNA with Visual Studio Express 2013 for Windows?

share|improve this question
up vote 11 down vote accepted

How install XNA 4.0 on Visual Studio 2013

  1. Download XNA 4.0 Refresh (Visual Studio 2013)
  2. Unzip archive
  3. Install DirectX from the archive
  4. Install Xna Framework 4.0 Redistribution from the archive
  5. Install Xna Game Studio 4.0 Platform Tools from the archive
  6. Install Xna Game Studio 4.0 Shared from the archive
  7. Install XNA Game Studio 4.0.vsix from the archive
share|improve this answer
I recently found that codeplex project, extremely useful, no more installing VS 2010 after installing 2013 on new machines to install XNA. – Cyral Apr 11 '14 at 0:05
Thanx. It's working. – Homer_Simpson Apr 11 '14 at 8:37
I read somewhere about some other step you had to do if you wanted to do this on Windows 8. Is that true? If so, what is that step? – Ethan Bierlein Apr 11 '15 at 20:02
The above worked fine for me on Windows 8. However since XNA is no longer supported I would recommend MonoGame or (My personal favorite)FNA as an alternative. Identical framework so all XNA tutorials would still be applicable. – ClassicThunder Apr 11 '15 at 21:45

An alternative to using XNA Refresh would be to use the following script to install XNA for you. It will automatically build part of VS 2010 temporarily, as I can only assume Refresh is doing, then delete it after it has installed XNA.

This script (both 64 and 32 bit versions) can be found here, and only requires Windows Powershell, which should be preinstalled on all modern Windows versions.

(Disclaimer: this is not my script, but has worked successfully for me and others in the past. Happy Coding!)

share|improve this answer
This script also has a version for Visual Studio 2015 at that download link. Just download and open the .htm file to get the script – Pip Nov 30 '15 at 2:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.