I create a project, and I set "Properties>Configuration Properties>C/C++>General>Additonal Include Directories " to "D:\work\test\ConsoleApplicationTest\ConsoleApplicationTest",that folder contains many files include "lib1.h",in my project I write: #include "lib1.h", when build solution, the Error list tells: Can not open sourcefile "lib1.h". But when I write: #include "D:\work\test\ConsoleApplicationTest\ConsoleApplicationTest\lib1.h" , it's OK, I don't know why?
Thanks a lot!
What I have tried:
In some of exist programs,it works well of "Properties>Configuration Properties>C/C++>General>Additonal Include Directories ", but in the new created project, it does not work, I have test in many new projects,and get the same result.