Visual Studio 2015 在保存时删除文件 - cordova 解决方案

Visual Studio 2015 在保存时删除文件 - cordova 解决方案

问题描述:

我刚刚将 windows 更新到了创意套件,现在当我运行 Visual Studio 来开发我的应用程序(使用 apache cordova 解决方案)时,每当我点击保存文件时,它就会从解决方案中删除该文件,并且关闭文件的编辑窗口.

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.

我可以对文件中的内容执行 CTRL+F,然后它会再次打开文件并将其带回解决方案,但现在解决方案中的文件没有锁定"图标.

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.

我已经尝试更新 Visual Studio,但显然我已经有了更新 3 的最新版本.

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

在今天早上之前没有这样做,那是我获得 windows 创作者更新的时候,所以我只能假设这与此有关?

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.

看起来微软已经发布了一个补丁来修复这个问题.

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