This project is read-only.

Isolated Storage - Writing to a file

Apr 15, 2010 at 5:31 PM

Does anyone have a good example of taking XML content and using isolated storage to create a directory, create a file in that directory, and then write to that file? Every method I try it gives me the same error: "Operation not permitted on IslolatedFileStream."

Thanks so much in advance!

Apr 19, 2010 at 9:02 PM

Okay I figured out how to use the isolated storage for silverlight and create an xml file by following the tutorial for "XMLWriter" on the msdn website. But for some reason, I don't have access to the "XmlTextWriter" class. They use the exact same namespace, so I'm guessing that my versions of C#, XNA, or silverlight are old? Anyone else have that issue?

Again thanks in advance.