none
code disappears suddently

    Question

  • Yesterday i worked on my code in visual studio, but now when i opened it, at first i compiled it, and it worked just like yesterday, but then, one second after, when i looked at one of the files, some of the code i wrote yesterday just completely disappeared from it's file! I save all of the time... and I didnt even touch the code before it was gone. this never happened to me before
    Monday, September 19, 2016 7:51 AM

All replies

  • Wait... now i see another cpp file named the same thing but with [conflict] after. wtf
    Monday, September 19, 2016 7:58 AM
  • Could it be that you inadvertently hit some "go back" keys?

    Have you looked at the Cancel/Redo buttons?

    Monday, September 19, 2016 7:58 AM
  • Hi ormenbjorn,

    Any update about this issue?

    How about creating a new project , then reproduce the steps the same as before, to check if this situation still happens again, or just the particular project?

    If the error still persists,  I need you installation log file to troubleshoot this issue,
    please use  http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip from %temp% folder. Please upload the file to  https://onedrive.live.com/ and share the link here.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.


    Wednesday, September 21, 2016 1:50 AM
    Moderator