Partilhar via


Engine.GlobalProperties Property

Definition

Accessor for the engine's global properties. Global properties are those that would be set via the /p: switch at the command-line, or things that the IDE wants to set before building a project (such as the "Configuration" property). These global properties shall be applied to all projects that are built with this engine.

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; }
public Microsoft.Build.BuildEngine.BuildPropertyGroup GlobalProperties { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.GlobalProperties : Microsoft.Build.BuildEngine.BuildPropertyGroup with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.GlobalProperties : Microsoft.Build.BuildEngine.BuildPropertyGroup with get, set
Public Property GlobalProperties As BuildPropertyGroup

Property Value

The global property bag.

Attributes

Remarks

Global properties are properties that are set by using the /property switch on the command line, or properties that are set by the integrated development environment (IDE) before a project is built. These global properties are applied to all projects that are built by using this Engine.

Applies to