JscTask.

WarningAsError Property

Summary

Controls which warnings should be reported as errors.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
JscTask

Syntax

public override 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.

Value

Type Description
WarningAsError