I have a project that is directly under the solution, it isn't nested in another project. Yet it has tons of values in it's "Additional Include Directories">"Inherited values":
I want to modify these, but where should I look for where these are defined?
Adding The Include Directory Go to the Visual Studio Project Property Pages dialog (From the Project menu, select Properties, or right-click on the project in the Solution Explorer). Select Configuration Properties, C/C++, General, and then add $(PIXELINK_SDK_ROOT)\include to the Additional Include Directories field.
In the Properties Page > Config Properties > C/C++ > Preprocessor. Click Edit from the Preprocessor Definitions drop down menu. The bottom half of the dialog shows "Inherited values", these are read only.
For a file, an item macro applies only to that file—for example, you can use %(AdditionalIncludeDirectories) to specify include directories that apply only to a particular file. This kind of item macro corresponds to an ItemGroup metadata in MSBuild.
This information is coming from the properties. You can see those on a per project basis in the "Property Manager" (I've attached a picture of my "View">"Other Windows">"Property Manager" but Assimilater has pointed out that the location may not be consistent across Visual Studio editions.)
In your Property Manager window you'll need to find your projects properties. Find your project and open the folder for the configuration you wish to modify. Right click on: "Local settings (specific for all projects in the directory)" and select "Properties".
From there you can edit "Common Properties">"C/C++">"General"'s "Additional Include Directories". Anything added here will show up in the "Inherited values" of your projects "Additional Include Directories" dialog.
I've validated that this information is consistent on Visual Studio 2008, 2010, 2012, 2013, and 2015.
You can read a more in depth piece on how to use properties here: http://blogs.msdn.com/b/vsproject/archive/2009/06/23/inherited-properties-and-property-sheets.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With