Can Visual Studio exclude certain folders when searching for header files?

Posted by identitycrisisuk on Stack Overflow See other posts from Stack Overflow or by identitycrisisuk
Published on 2010-05-10T09:25:00Z Indexed on 2010/05/10 9:44 UTC
Read the original article Hit count: 175

Filed under:
|

I'm having trouble with a library that we are using, which has two copies of header files that are needed - one which we are modifying and building from and another which is automatically created during the build process.

I don't fully know why or really want to change this but it can cause a bit of annoyance when on random occasions the go to definition function takes you to the auto created header instead of the one used to build. Usually you can spot it but sometimes you don't and make changes to the auto created one, which are then overwritten or sometimes stay around for a while so that something works on your machine but breaks on other peoples.

I don't know if there is any way around this as the auto created folder is in the additional include directories of some of the projects in the solution but I just thought I would ask if there was any good way of reducing the chance of this annoying situation cropping up.

© Stack Overflow or respective owner

Related posts about headers

Related posts about visual-studio-2005