How to: Inherit Project Settings from Property Sheets
This topic describes how to apply project settings that are defined in property sheets, to your C++ projects. You can either use the Property Manager or set the Inherited Project Property Sheets property to specify that your Visual C++ project or project property sheet will inherit its project settings from another property sheet.
To apply project settings that are defined in property sheets using the Property Manager
Open your project in the Visual Studio IDE.
Select Property Manager from the View menu.
In Property Manager, right-click the project, configuration, or user-defined property sheet that you want to apply project settings.
Note
Default project property sheets cannot inherit project settings from user-defined property sheets.
Select Add Existing Property Sheet from the context menu.
When you select Add Existing Property Sheet, the Add Existing Property Sheet dialog box appears. This dialog box helps you locate and specify which property sheet you want to apply to your project, configuration, or user-defined property sheet.
To apply project settings that are defined in property sheets using the Inherited Project Property Sheets property
Open your project in the Visual Studio IDE.
In Solution Explorer, right-click the node for the project or the property sheet that will inherit the project configuration.
On the shortcut menu, click Properties. The property pages for your project will appear.
Use the Configuration control to specify which project configuration to apply the project settings.
In the Inherited Project Property Sheets field of the General property page, enter the path to the property sheet that contains the settings you want to inherit.
Click Apply.
Note
When you click Apply, the new settings will automatically propagate to all project files and property sheets that inherit from the property sheet that you modified.
See Also
Tasks
How to: Add New Property Sheets to C++ Projects
How to: Edit Project Property Sheets