Recovering file from the Visual Studio document cache?

吃可爱长大的小学妹 提交于 2019-11-27 23:33:35

Sorted it. Those recovery files are located @ MyDocuments\Visual Studio X\Backup Files\Project Name...

aradil

I came here looking for an answer to the same issue, but none of these things helped -- that being said, in visual studio 2010 deleted files end up in the Windows Recycle bin.

Here's another post talking about the same thing: How do I recover a deleted item from Visual Studio 2010?

If you have compiled the code into a DLL, then you can use ILSpy, or Reflector to decompile that back into code.

For Linux, the location seems to be ~/.config/Code/Backups/

(found the info here: https://github.com/Microsoft/vscode/issues/3884)

Good luck recovering your files, future travellers! I got lucky!

It doesn't help you now, but you might want to install ClipX, which helps keep as many items on the clipboard as you'd like. It's helped me in times when the crash happened, but there was a version on the clipboard awhile back.

This is a known bug in VS and is being continually ignored by Microsoft. I've lost full day's worth of work as a result. The solution that worked for me was to move my project to a GoogleDrive sync folder. Now every time I save files, Google drive syncs a copy to the cloud. Along with regular commits to Git, I should never have to loose work.. sigh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!