1
\$\begingroup\$

This may be a silly question but, im unable to do any save game data because for some reason, this following namespace is unrecognizable:

 using Microsoft.Xna.Framework.Storage;

All the normal XNA namespaces work but not this one. Im ade sure to uninstall XNA 3.1, and the windows phone 7 SDK. Then i un-installed XNA 4.0 and reinstalled it. Im not sure whats wrong, but i would really enjoy some help so could get to saving some games.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

If this is for a Windows Phone project, you won't have access to that namespace. You'll want to use System.IO.IsolatedStorage for Windows Phone applications. See this tutorial on how to do that.

Further, ensure your target framework and the project match. The project and the references need to be the same version. If you're using XNA 4.0, you need to have created an XNA 4.0 project. If the project was created as a 3.1, you can't use the 4.0 references.

\$\endgroup\$
1
  • \$\begingroup\$ its a windows game (4.0) application. Not sure whats wrong \$\endgroup\$ Commented Feb 6, 2013 at 19:29

You must log in to answer this question.

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