Visual studio 2015 deletes file on save - cordova Solution

一世执手 提交于 2019-11-27 20:49:19

I've been experiencing this as well, and I just noticed that it only happens in Cordova projects.

My current work around is File -> Recent Files and select the file(s) that just closed. The file(s) re-open and reappear in the file tree.

I think they must be re-opened for VS to find all the files necessary for a build.

This issue just occurred on my system too. Only files in the www folder have this issue. You can close a file that has not been edited. Or restart VS to fix.

Issue: Saving a file closes it from view and removes it from the project. It is however saved and you can use add-existing to get it back. Everything else seems to be normal. Using vs2015 community with cordova on win 10.

Solved this issue by rolling back to old build.

Undoing Feature update to Windows 10, version 1709 solved the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!