NAnt SDK Documentation - v0.85-nightly-2005-11-09

JscTask.WarningLevel Property

[This is preliminary documentation and subject to change.]

Specifies the warning level for the compiler to display. Valid values are 0-4. The default is 4.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="warninglevel", ExpandProperties:=True, ProcessXml:=True), _  Int32Validator(MinValue:=0, MaxValue:=4, Base:=10)>
Public Property WarningLevel As String
[C#]
[TaskAttribute(Required=False, Name="warninglevel", ExpandProperties=True, ProcessXml=True)]
[Int32Validator(MinValue=0, MaxValue=4, Base=10)]
public string WarningLevel {get; set;}

Property Value

The warning level for the compiler to display.

Remarks

Corresponds with the /warn flag.

See Also

JscTask Class | NAnt.DotNet.Tasks Namespace