why visual studio editor can not find a header file, when compiler can find it

谁都会走 提交于 2019-12-11 04:58:35

问题


I have a visual studio 2012 project. All of the paths are set correctly, and I can compile the project without any problem.

While using the Visual Studio IDE, I click on a function or class defined in a header, which is not in the root of source directory, and the IDE can not find it. When I select a header file and ask the IDE to open it, the IDE says that it can not find it.

What is the problem and how can I fix it?

I tried to reset IntelliSense cache, but there is no refresh menu on edit -> IntelliSense.#

来源:https://stackoverflow.com/questions/27823228/why-visual-studio-editor-can-not-find-a-header-file-when-compiler-can-find-it

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