Partilhar via


Project.EvaluatedProperties Property

Definition

Read-only accessor for the final set of evaluated properties for this project. This takes into account all conditions and property expansions, and gives back a single linear collection of project-level properties, which includes global properties, environment variable properties, reserved properties, and normal/imported properties. Through this collection, the caller can modify any normal properties, and the changes will be reflected in the project file when it is saved again. However, adding or deleting properties from this collection will not impact the project.

PERF WARNING: cloning a BuildPropertyGroup can be very expensive -- use only when a copy of the entire property bag is strictly necessary

public:
 property Microsoft::Build::BuildEngine::BuildPropertyGroup ^ EvaluatedProperties { Microsoft::Build::BuildEngine::BuildPropertyGroup ^ get(); };
public Microsoft.Build.BuildEngine.BuildPropertyGroup EvaluatedProperties { get; }
member this.EvaluatedProperties : Microsoft.Build.BuildEngine.BuildPropertyGroup
Public ReadOnly Property EvaluatedProperties As BuildPropertyGroup

Property Value

A BuildPropertyGroup containing the properties evaluated during the build.

Remarks

The returned BuildPropertyGroup contains all the evaluated properties in the project after performing condition evaluation and property expansion. The properties in this collection include global properties, environment variables, reserved properties, and imported properties. Changes to existing properties in this collection will be reflected the next time the project is saved, but adding or deleting properties will not impact the project.

Note

Cloning a BuildPropertyGroup can negatively impact performance. Only use a copy of this property when it is strictly necessary.

Applies to