WarningAsError Property

NAnt SDK Documentation - v0.92 |

# VjcTask.WarningAsError Property

Controls which warnings should be reported as errors.

[Visual Basic]
Overrides Public ReadOnly Property WarningAsError As WarningAsError
[C#]
public override NAnt.DotNet.Types.WarningAsError WarningAsError {get;}

#### Remarks

Override to avoid exposing this to build authors, as the Visual J# compiler does not allow control over which warnings should be reported as errors.

#### See Also

VjcTask Class | NAnt.DotNet.Tasks Namespace