Share via


BuildTask.ContinueOnError Property

Gets or sets the ContinueOnError attribute value of the Task element.

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

Property Value

Type: System.Boolean
The ContinueOnError attribute value of the Task element.

.NET Framework Security

See Also

Reference

BuildTask Class

Microsoft.Build.BuildEngine Namespace