Empty source file after crash in Visual Studio?

So, I’m working on my XNA game project for a diploma for 3 months ... I just finished everything and am ready to obey when suddenly ... BLUE SCREEN. The computer restarts and my main.cs file is full of nonsense. No more code. That's all that remains of my complete source code ... What can I do? Please, help.

thanks

Also: I will cry

+4
source share
3 answers

People who mention saving documents on a regular basis or using a source are such idiots and have no idea what the problem is. I do everything according to the book .. even if Auto Recovery is configured, still after BSOD I returned to an empty source file! After some research, I realized that this is a known Visual Studio bug. My suggestion would be to use a cloud storage service like GoogleDrive to constantly copy your source files.

+1
source

I am running this question too, as @Eric J suggested, I recovered my code from decompiling the dll file generated by the last compilation

+1
source

If Windows 7 right-click on a folder or file! Go to ots properties and look for "previous versions" or similar. You may be able to revert to an earlier version.

0
source

Source: https://habr.com/ru/post/1433467/


All Articles