Project.BuildEnabled Property

 

Gets or sets a value indicating whether the project is enabled for building tasks and targets.

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)

public bool BuildEnabled { get; set; }

Property Value

Type: System.Boolean

true if the project is enabled for building tasks and targets; otherwise, false.

By default, this property uses value of the BuildEnabled property of the project's ParentEngine.

Return to top
Show: