Search code examples
visual-studiocordovavisual-studio-2015visual-studio-cordova

Visual studio 2015 deletes file on save - cordova Solution


I've just updated windows to the creative suite, and now when i run visual studio to develop my app (using an apache cordova solution), when ever i hit save on a file, it removes the file from the solution and closes the editing window for the file.

I can do a CTRL+F for content within the file, then it will open the file again and bring it back to the solution, but now the file in the solution has no 'lock' icon.

I have tried updating visual studio, but apparently i have the latest version of update 3 already.

It wasn't doing this before this morning which is when i got the creators update for windows, so i can only assume it was something to do with this?

If any one can help, it would be much appreciated, its driving me insane! I get no errors what so ever.


Solution

  • Looks like Microsoft have issued a patch to fix this behaviour.

    https://support.microsoft.com/en-ie/help/4089821/files-disappear-from-project-after-saving-in-visual-studio-2015