NAnt SDK Documentation - v0.92

Task.FailOnError Property

Determines if task failure stops the build, or is just reported. The default is true.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Required:=False, Name:="failonerror", ExpandProperties:=True, ProcessXml:=True)>
Public Property FailOnError As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="failonerror", ExpandProperties=True, ProcessXml=True)]
public bool FailOnError {get; set;}

See Also

Task Class | NAnt.Core Namespace