Compartilhar via


Project.GlobalProperties Property

Gets or sets a collection of the global properties for the project.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Property GlobalProperties As BuildPropertyGroup
public BuildPropertyGroup GlobalProperties { get; set; }
public:
property BuildPropertyGroup^ GlobalProperties {
    BuildPropertyGroup^ get ();
    void set (BuildPropertyGroup^ value);
}
member GlobalProperties : BuildPropertyGroup with get, set
function get GlobalProperties () : BuildPropertyGroup 
function set GlobalProperties (value : BuildPropertyGroup)

Property Value

Type: Microsoft.Build.BuildEngine.BuildPropertyGroup
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.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace