BuildPropertyGroup Constructors

Definition

Overloads

BuildPropertyGroup()

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Default constructor, that creates an empty virtual (non-persisted) BuildPropertyGroup.

BuildPropertyGroup(Project)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Default constructor, that creates an empty virtual (non-persisted) BuildPropertyGroup.

BuildPropertyGroup()

Source:
BuildPropertyGroup.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Default constructor, that creates an empty virtual (non-persisted) BuildPropertyGroup.

C#
public BuildPropertyGroup();
C#
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildPropertyGroup();
Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

MSBuild 17 and MSBuild (.NET Core) 17
Product Versions
MSBuild 17
MSBuild (.NET Core) 17

BuildPropertyGroup(Project)

Source:
BuildPropertyGroup.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Default constructor, that creates an empty virtual (non-persisted) BuildPropertyGroup.

C#
public BuildPropertyGroup(Microsoft.Build.BuildEngine.Project parentProject);
C#
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildPropertyGroup(Microsoft.Build.BuildEngine.Project parentProject);

Parameters

parentProject
Project

The name of the Project in which to add the new PropertyGroup.

Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

MSBuild 17 and MSBuild (.NET Core) 17
Product Versions
MSBuild 17
MSBuild (.NET Core) 17