.NET Framework Class Library
MSBuild..::.StopOnFirstFailure Property

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

Gets or sets a Boolean value that specifies whether the task should stop building the remaining projects as soon as any one of them may not work.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v3.5 (in Microsoft.Build.Tasks.v3.5.dll)
Syntax

Visual Basic (Declaration)
Public Property StopOnFirstFailure As Boolean
Visual Basic (Usage)
Dim instance As MSBuild
Dim value As Boolean

value = instance.StopOnFirstFailure

instance.StopOnFirstFailure = value
C#
public bool StopOnFirstFailure { get; set; }
Visual C++
public:
property bool StopOnFirstFailure {
    bool get ();
    void set (bool value);
}
JScript
public function get StopOnFirstFailure () : boolean
public function set StopOnFirstFailure (value : boolean)

Property Value

Type: System..::.Boolean
true if the task should stop building the remaining projects as soon as any one of them may not work; otherwise, false.
.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker