In the properties page of VS, "VC + + Directory includes directory (VC + + Directory->include directory)" and "add-on Include directory (C/c++->additional inlude directory) "and other directories with similar names, I don't know where the difference is. Find Instructions:
Differences between "Include Directories" and "Additional include Directories" in VC2010
It is noted that the difference between the two included paths is the priority of the search.
Another post: What is the difference between "included directories" and "Additional Include Directories" in VS2010
It is also pointed out that one is to modify the value of the include macro of the system, is global, one for the project, no impact on other projects. And a solution can have multiple projects.
More details can be found in MSDN related documents, VC + + Directories property Page.
This document refers to the "VC + + Directory source Directory (VC + + Directory->include directory)" is to search the path of IntelliSense, perhaps next time IntelliSense has a problem, you can try.
A similar problem is the "executable directory", which is more thorough in this article:
In the development process, how to let Visual Studio link these lib and DLL files will be better?
Search MSDN for "How To:set Environment Variables for Projects".
(It ' s project>properties>configuration properties>debugging "Environment" and "Merge environment" Properties For those who is in a rush.)
The syntax is name=value and macros can are used (for example, $ (OutDir)).
For example, to prepend C:\Windows\Temp to the PATH:
path=c:\windows\temp;%path%
Similarly, to append $ (TargetDir) \dlls to the PATH:
path=%path%;$ (TargetDir) \dlls
Need to explain is "VC + + Directory executable Directory (VC + + directory->executable directory)" is only in the build when the search, not including debugging and execution.
Compile,build and rebuild (VS2008)
VS Environment Path