NAnt SDK Documentation - v0.92 |
|
JscTask.WarningLevel Property
Specifies the warning level for the compiler to display. Valid values are 0
-4
. The default is 4
.
[Visual Basic]
<TaskAttribute(Name:="warninglevel", Required:=False, ExpandProperties:=True, ProcessXml:=True), _
Int32Validator(MinValue:=0, MaxValue:=4, Base:=10)>
Public Property WarningLevel As
String
[C#]
[TaskAttribute(Name="warninglevel", Required=False, 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