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

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
its a windows game (4.0) application. Not sure whats wrong – Battle_Pasture Feb 6 '13 at 19:29

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.