Summary
Specifies a comma-separated list of warnings that should be suppressed
by the compiler.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Tasks - Containing Type
- CompilerBase
Syntax
[TaskAttribute("nowarn")]
[Obsolete("Use the <nowarn> element instead.", false)]
public virtual string NoWarn { get; set; }
Remarks
Corresponds with the /nowarn flag.
Attributes
| Type | Description |
|---|---|
| Task |
Indicates that property should be treated as a XML attribute for the task. |
| ObsoleteAttribute |
Value
| Type | Description |
|---|---|
| string | Comma-separated list of warnings that should be suppressed by the compiler. |
