Error Property

NAnt SDK Documentation - v0.92 |

# IlasmTask.Error Property

Specifies whether or not the compiler should attempt to create a PE file even if compilation errors have been reported.

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

#### Property Value

true if a PE file has to be created even if compilation errors have been reported; otherwise, false. The default is false.

#### Remarks

Corresponds to the `/ERROR` flag.

#### See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace