7
\$\begingroup\$

http://dev.windowsphone.com/en-us/downloadsdk

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?

\$\endgroup\$

2 Answers 2

12
\$\begingroup\$

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
\$\endgroup\$
4
  • \$\begingroup\$ I recently found that codeplex project, extremely useful, no more installing VS 2010 after installing 2013 on new machines to install XNA. \$\endgroup\$
    – Cyral
    Commented Apr 11, 2014 at 0:05
  • \$\begingroup\$ Thanx. It's working. \$\endgroup\$ Commented Apr 11, 2014 at 8:37
  • \$\begingroup\$ 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? \$\endgroup\$ Commented Apr 11, 2015 at 20:02
  • 2
    \$\begingroup\$ 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. github.com/flibitijibibo/FNA \$\endgroup\$ Commented Apr 11, 2015 at 21:45
1
\$\begingroup\$

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!)

\$\endgroup\$
1
  • \$\begingroup\$ 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 \$\endgroup\$
    – Pip
    Commented Nov 30, 2015 at 2:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .