I'm trying to clear the application data when user logout of the application & I found ApplicationData.ClearAsync() which fits my requirement which is similar to IsolatedStorageSettings.ApplicationSettings.Clear() but it gives me an below error
An exception of type 'System.IO.FileLoadException' occurred in mscorlib.ni.dll but was not handled in user code
Additional information: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
I'm not able to understand this as there is no file that I have opened or using as I'm simply using as isolatedstorage just in key value pair.
Kindly help me figure out how I can solve this issue. Thanks in advance
User contributions licensed under CC BY-SA 3.0