Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.