c# - Visual studio 2010 empties the file on crash -


i got bad problem while working on visual studio 2010. accidently power plug switched off , when started computer again file completly empty. tried out following things:

  • i opened in notepad , other couple of editors , empty.

  • i opened in hex editor. hex editor shows bytes set 0.

  • i programatically read file , showd bytes set 0.

  • checked "documents\visual studio 2010\backup files\" project , empty.

the file size still showing in kbs code completly gone.

is there possible way can recover code? if there not, can suggest me setting/patch taht should there never happens again.

note: have autorecover option set every 5 minutes in ide.

update: suggested henok, if have compiled , built code @ least once, can reverse engineer binary through reflector.

doesn't it, stop in future though, save , save often. @ using subversion svn, or git.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -