Resolved .NET App Updates and Isolated Storage

Raider

New member
Joined
Jul 2, 2009
Messages
2
Programming Experience
1-3
Hey,

I have a bit of an issue...

The Windows Application we are coding uses an XML to store connection settings etc. The application also needs to update automatically online.

The problem is that the config file is replaced when the application is updated and the user has to set up the application again (definetly not ideal!).

I placed the XML file into isolated storage, no problems doing that. But still when the application is updated the isolated files get replaced/removed and the user has to reset their settings...

Is there a better way to go about this? Isolated storage seemed to be the answer to my problem but it has led me into a dead end.

Thanks in advance!
 
Last edited:
Never mind...

Solved the problem...

The Isolated Storage was producing an error when running in debug mode straight from VS when using IsolatedStorageFile.GetUserStoreForApplication. When the application was published this worked fine and update stopped overwriting the file (it was prviously using assembly, which of course would change when the build does!)
 
Back
Top