How can I clear old include directories and symbols from the indexer?

Rating:
 
Vote for this:
Good  -  Bad

Answer

To clear the indexer include directories and symbols, do the following:

 

Right-click on your project in the Project Explorer and select Properties

Expand the C/C++ Build selection and click on Discovery Options

Set Discovery profiles scope to Per Language

Click the Clear button to the right and then press OK

 

Your project will now get updated include directories and symbols the next time you build your project.