NAnt SDK Documentation - v0.92

JscTask.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 JScript.NET compiler does not allow control over which warnings should be reported as errors.

See Also

JscTask Class | NAnt.DotNet.Tasks Namespace