Evaluation of Inherited Properties

A project configuration can inherit project settings from multiple property sheets.

When the project system evaluates properties that are inherited from multiple property sheets, the last property sheet inherited from will be the first property sheet evaluated against.

For example, if you specify a.props; b.props; c.props as the value of the Inherited Property Sheets property for a project configuration, then the properties in c.props has highest precedence, b.props has higher precedence than a.props, and a.props has lowest precedence. In this case, a.props, b.props, and c.props are peers, which means that they exist at the same level.

Property evaluation is done by a depth first scan, rather than breadth first.

In the preceding example, if c.props inherits from d.props, then the project system will look in d.props before looking in b.props.

Community Additions