My computer shut down while working on a project and when I opened C# again and recovered it, I got an error saying
There is no editor available \'for
You should repair or worst case scenario reinstall VS.
I will say though you might be interested in looking into some version control software so you have backups of your code. There are plenty of free options out there so it wont cost you, but this software will allow you to easily rollback if you break something, and if you do have a crash like this and loose your work you only loose the changes since the last checkin.