Reputation: 75
If you write an unrecognized datatype [such as a C# DateTimeOffset] to Application.Current.Properties, it appears to corrupt the dictionary [ie the dictionary cannot deserialize]
But how do you fix it?
Application.Current.Properties.Clear() crashes because .Clear() first tries to deserialize? So you can't just "start over" with a clean dictionary.
I assume there is a file SOMEWHERE [just building a UWP app at the moment] I could delete but darned if I can find it.
Upvotes: 1
Views: 523
Reputation: 89169
The settings are stored in a file named PropertyStore.Forms. On UWP it should be stored in ApplicationData.Current.RoamingFolder
Upvotes: 2