Partilhar via


Engine.BuildEnabled Property

Definition

This is the default value used by newly created projects for whether or not the building of targets is enabled. This is for security purposes in case a host wants to closely control which projects it allows to run targets/tasks.

public:
 property bool BuildEnabled { bool get(); void set(bool value); };
public bool BuildEnabled { get; set; }
public bool BuildEnabled { [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.BuildEnabled : bool 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.BuildEnabled : bool with get, set
Public Property BuildEnabled As Boolean

Property Value

true if the building of targets in the project is enabled; otherwise, false.

Attributes

Applies to