Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Empty source file after crash in Visual Studio?

So I have been working on my game project in XNA for my diploma for 3 months now... was just finalizing everything and ready to submit when suddenly... BLUE SCREEN. Computer restarts and my main.cs file is full of stupid spaces. No more code. That's all that it was left out of my full source code... What can I do? Please help.

Thanks

Also: I'm going to cry

like image 730
bbrez1 Avatar asked Sep 10 '12 20:09

bbrez1


2 Answers

People who mention saving documents on regular or using a source control are such idiots really and not have the slightest clue of what this issue is about. I'm doing everything by the book.. even had the Auto Recovery configured, still after BSOD I arrived back to an empty source file! After bit of investigation, I realized that this is a known Visual Studio bug. My suggestion would be to use a cloud store service like GoogleDrive to keep a copy of your source files at all times.

like image 102
redditmerc Avatar answered Nov 06 '22 21:11

redditmerc


I run this matter too,as @Eric J suggested, I recoveried my code from decompiling the dll file which is generated by the latest compiling

like image 2
Will Wang Avatar answered Nov 06 '22 23:11

Will Wang