保存后文件从VS 2015解决方案中消失 [英] files disappear from VS 2015 solution after saving
问题描述
在安装VS 2015 Pro(带有Update 3的14..0.25 ...,已成功添加许可证密钥)并创建新项目(尤其是在具有Ionic 2模板的Javascript或TypeScript中)之后,当我打开文件时, (是否进行了修改),我保存了它,并从解决方案资源管理器中消失了.在文件消失之前,该文件的图标会更新为警告图标.
After installing VS 2015 Pro (14.0.25... with Update 3, licence key has been succesfully added), and creating a new project (especially in Javascript or TypeScript with Ionic 2 templates), when I open a file, (modified it or not), I save it and it disappear from Solution Explorer. Just before it disappear, the icon of the file is updated with a warning icon.
但是,如果我尝试创建一个C ++项目,那就没问题!
However, if I try to create a C++ project, there is no problem !
在一个打字稿项目中,构建后,ts文件再次出现在构建末尾.
In a typescript project, after building, ts files appear again at the end of the build.
我所有的项目都位于c:磁盘中.我已经尝试过使用和不使用git.
All my projects are located in c: disk. I've tried with and without using git.
我安装的两个扩展是:Ionic 2模板和NPM TaskRunner.我卸载了它们,但问题仍然存在.
The two extensions I've installed are : Ionic 2 templates and NPM Task runner. I uninstalled them, but the problem is still here.
当我重新启动VS时,我可以再次看到文件.但是问题仍然在这里.
When I restart VS, I can see again the files. But the problem is still here.
如何修复?
推荐答案
我在Windows 10上遇到了同样的问题. 这似乎是Windows更新版本 1709 引起的. 将Windows版本恢复为 1703 后,问题已解决.
I had same issue on Windows 10. It seems caused by windows update version 1709. After I recovered my windows version to 1703, the problem was solved.
这篇关于保存后文件从VS 2015解决方案中消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!