Wednesday, October 6, 2010

Windows Phone 7 Quick Tip #16 – Visual Studio .NET and Isolated Storage getting deleted

If you are developing a Windows Phone 7 application that uses Isolated Storage you may notice while using Visual Studio that your storage files get “nuked” or deleted at random times.  Well like me you probably realized that it isn’t random but weren’t able to identify the pattern.  While exchanging emails with Nick Randolph from down under he suggested that it was when you Rebuild, rather than Build, it will nuke your local storage files.  Thirty seconds later I was able to confirm this and life is grand and I can save that minute or so that it takes to restore my settings. =D

-twb

UPDATED: from Reddy Duggempudi of Microsoft:

Clean build (rebuild or clean/build) will reinstall the app which in turn will remove all the “old  app” artifacts such as Isolated storage.

1 comment:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.
    or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

    ReplyDelete