NAnt SDK Documentation - v0.85-nightly-2005-11-09 |
|
CscTask.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]
<Int32Validator(MinValue:=0, MaxValue:=4, Base:=10), _
TaskAttribute(Required:=False, Name:="warninglevel", ExpandProperties:=True, ProcessXml:=True)>
Public Property WarningLevel As
String
[C#]
[Int32Validator(MinValue=0, MaxValue=4, Base=10)]
[TaskAttribute(Required=False, Name="warninglevel", ExpandProperties=True, ProcessXml=True)]
public
string WarningLevel {get; set;}
Property Value
The warning level for the compiler to display.
Remarks
Corresponds with the /warn
flag.
See Also
CscTask Class | NAnt.DotNet.Tasks Namespace