Answered by:
Visual Studio file code is missing

-
I went to open my code for a project I had been working on all month only to find that the code I had written for that project had completely disappeared. The file is existent, but when I go to access the content of the file nothing is there. The last date of modification of the file is 12-31-2015 and that is consistent of when I left work.
I know my computer did automatically shut off after the battery became low over the course of New Years weekend but as mentioned the codes last modified date is consistent with when I left work which is also the last time I had saved it.
Is there anyway to recover the html? The javascript attached is completely in tact and is as is when I last touched it which was the same date.
Question
Answers
-
Hi BacketballCoder,
This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
Please open your file with Notepad to check whether there has any content. If also not exist, I think the code is really missing, it is not related to Visual Studio.
Do you make sure you have saved them before you leave? And do you lock your computer when you leaving? Please make sure don't have other people operate your computer.
In my opinion, we often do a backup before we need to leave for a long time with our code. We often manage our code with TFS or other source control. If you also used, please download them from source control. If not, I'm afraid that you need to re-write your code again.
Best Regards,
Weiwei- Proposed as answer by Weiwei CaiMicrosoft contingent staff, Moderator Tuesday, January 12, 2016 9:30 AM
- Marked as answer by Weiwei CaiMicrosoft contingent staff, Moderator Friday, January 15, 2016 8:44 AM
All replies
-
Hi BacketballCoder,
This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
Please open your file with Notepad to check whether there has any content. If also not exist, I think the code is really missing, it is not related to Visual Studio.
Do you make sure you have saved them before you leave? And do you lock your computer when you leaving? Please make sure don't have other people operate your computer.
In my opinion, we often do a backup before we need to leave for a long time with our code. We often manage our code with TFS or other source control. If you also used, please download them from source control. If not, I'm afraid that you need to re-write your code again.
Best Regards,
Weiwei- Proposed as answer by Weiwei CaiMicrosoft contingent staff, Moderator Tuesday, January 12, 2016 9:30 AM
- Marked as answer by Weiwei CaiMicrosoft contingent staff, Moderator Friday, January 15, 2016 8:44 AM
-