Compartilhar via


MSBuild.StopOnFirstFailure Property

Definition

Forces the task to stop building the remaining projects as soon as any of them fail.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Property Value

true if the task should stop building the remaining projects as soon as any one of them may not work; otherwise, false.

Attributes

Applies to