Project.GlobalProperties Property

Definition

Read-write accessor for the project's global properties collection. To set or modify global properties, a caller can hand us an entire new BuildPropertyGroup here, or can simply modify the properties in the BuildPropertyGroup that is already here. Global properties are those defined via the "/p:" switch on the MSBuild.exe command-line, or properties like "Configuration" set by the IDE prior to invoking MSBuild.

public:
 property Microsoft::Build::BuildEngine::BuildPropertyGroup ^ GlobalProperties { Microsoft::Build::BuildEngine::BuildPropertyGroup ^ get(); void set(Microsoft::Build::BuildEngine::BuildPropertyGroup ^ value); };
public Microsoft.Build.BuildEngine.BuildPropertyGroup GlobalProperties { get; set; }
member this.GlobalProperties : Microsoft.Build.BuildEngine.BuildPropertyGroup with get, set
Public Property GlobalProperties As BuildPropertyGroup

Property Value

A BuildPropertyGroup containing the global properties for the project.

Remarks

Global properties are properties set with the /property switch on the command line, or properties set by the integrated development environment before invoking MSBuild. For more information, see MSBuild Command-Line Reference.

Applies to