VS2012 not detecting external changes

人盡茶涼 提交于 2019-12-13 06:12:16

问题


I got this weird issue, when I make external changes on files (like removing a file or make new ones), Visual Studio 2012 (Ultimate) doesn't detect the file changes. Right now, I deleted ~15 and copied a lots of new files in windows explorer, but in my solution, it shows the old files and says there is an issue with them.

I turned on "Tools"->"options"->"Environment"->"Documents"->"Detect when file changes outside..." and the one under it. Doesn't help.

(Right now, I am working on an MVC4 project.)


回答1:


I found a somewhat solution:

  • Project->Show all files

  • Right click on everything you want and select "include in project"

You can do the same, with the files you already deleted, but the VS shows you as an issue. (Exclude from project)



来源:https://stackoverflow.com/questions/19930689/vs2012-not-detecting-external-changes

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