Visual Studio 2015 在保存时删除文件 - cordova 解决方案 [英] Visual studio 2015 deletes file on save - cordova Solution

查看:39
本文介绍了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

这篇关于Visual Studio 2015 在保存时删除文件 - cordova 解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆