Summary
Specifies the warning level for the compiler to display. Valid values
are
0
-4
. The default is 4
.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Tasks - Containing Type
- CscTask
Syntax
[TaskAttribute("warninglevel")]
[Int32Validator(0, 4)]
public string WarningLevel { get; set; }
Remarks
Corresponds with the /warn
flag.
Attributes
Type | Description |
---|---|
Task |
Indicates that property should be treated as a XML attribute for the task. |
Int32 |
Indicates that property should be able to be converted into a int
within the given range.
|
Value
Type | Description |
---|---|
string | The warning level for the compiler to display. |