Currently I am developing Epub Reader App for Windows 8.1, so while developing I cam through an interesting issue which I am sure many Developer might have came across.
At one place I was using the below code,
Windows.Storage.ApplicationDataContainer localSettings =
After some days I need to rest the local setting so I went to "C:\Users\<user>\AppData\Local\Packages" path and deleted the corresponding folder.
Now whenever I was running the application in the Debug mode in Visual Studio I was getting exception "Loading the state store failed" at first line in the above code. In the beginning I was unable to understand the issue and I even tried restarting the Visual Studio but still it was the same.
But than after some analysis I found the fix. Whenever you run the application in the Debug mode on your local machine, .NET Framework first installs that app in your machine. So if you want to reset the settings or fix the above issue than apart from deleting the folder from the above path you even need to uninstall the application.
I hope its helpful. Thanks and Happy Coding.
Last year on November 2014, Microsoft released new .NET Framework 4.6 Preview version and I will just go through some of the new features which are available compared to the older one.
For more details you can visit Microsoft MSDN website.