I am building a C project that uses some header files of mines. I put these files in a folder and add that path in Project Properties-->C/C++-->General-->Additional Include Directories. When I use #include "myfile.h", it works fine. But when I use #include <myfile.h>, it says Can not open include file. Thanks
            Asked
            
        
        
            Active
            
        
            Viewed 47 times
        
    0
            
            
         
    
    
        Sarfraz Ahmed
        
- 1,349
- 6
- 23
- 43
- 
                    That is entirely normal. The include path for angle bracketed files is set by Project > Properties > VC++ Directories > "Include Directories". It should be reserved for compiler and OS headers. – Hans Passant Apr 09 '18 at 07:18
- 
                    It means, I can not use angle bracket in my case? As I have to change everywhere in my project because there are a lot. I thought there must be some flag that resolves this issue. – Sarfraz Ahmed Apr 09 '18 at 07:25
- 
                    Have you had a look at [this question](https://stackoverflow.com/questions/47492634/how-to-make-visual-studio-2017-see-my-h-file-using-angle-brackets?rq=1) ? – Vishaal Shankar Apr 09 '18 at 07:29
- 
                    It should work just fine. Just double-checked with a new VS solution. What @VishaalShankar implies: Have you checked that you build the same configuration (Platform/Debug/Release) that you have set the include directories for? – Matthias Apr 09 '18 at 14:14
- 
                    yes I checked the configuration. I changed it to "double quoted" instead of angle bracket. – Sarfraz Ahmed Apr 10 '18 at 10:23