Udostępnij za pośrednictwem


Property Inheritance

The project system employs a property inheritance model, which extends your ability to manage project configurations. When you define a project configuration in a property sheet or in a tool file, you may want to apply those settings to another project. Property inheritance enables you to reuse project configurations, without having to redefine and reapply each project setting in the property pages.

Property inheritance applies to all files that define a project configuration. The following table summarizes which files can inherit property settings from each other.

File Type

Can inherit from .vcproj files?

Can inherit from .vsprops files?

Can inherit from .tool files?

Project Files (.vcproj)

No

Yes

Yes

Property Sheets (.vsprops)

No

Yes

No

Tool Files (.tool)

No

No

Yes

See Also

Tasks

How to: Inherit Project Settings from Property Sheets

Concepts

Property Types (C+)