다음을 통해 공유


Engine.BuildEnabled Property

Gets or sets a value that indicates whether the building of targets in the project is enabled.

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 BuildEnabled As Boolean
public bool BuildEnabled { get; set; }
public:
property bool BuildEnabled {
    bool get ();
    void set (bool value);
}
member BuildEnabled : bool with get, set
function get BuildEnabled () : boolean 
function set BuildEnabled (value : boolean)

Property Value

Type: System.Boolean
true if the building of targets in the project is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

Engine Class

Microsoft.Build.BuildEngine Namespace