visual-studiodata-recovery

Visual Studio lost current code on sudden crash


My visual studio 2010 crashed when some carelessness [bit of madness] mistakenly pressed start button and my Acer timeline got unstable. Two projects where open at the time, one in visual studio 2005 [I have both 2005 and 2010 installed]. Unfortunately I lost all the codes I had done at the time along with those coded even weeks before. Now the project files in both the solutions are those weeks older. Amazingly, the .aspx pages are intact and .cs files are gone.

What can be done to get the lost data?


Solution

  • You can check:

    C:\Users\<username>\Documents\Visual Studio 2010\Backup Files\<ProjectName>\
    C:\Users\<username>\Documents\Visual Studio 2005\Backup Files\<ProjectName>\
    

    More information can be found here: Visual Studio 2010 AutoRecover Feature