Summary
Specifies a list of warnings that the compiler should treat as
errors. This overrides the
NAnt.DotNet.Tasks.CompilerBase.WarnAsError
attribute. Only supported when targeting .NET 2.0 or higher.
- Assembly
- NAnt
.DotNet .dll - Namespace
- NAnt
.DotNet .Types - Containing Type
- WarningAsError
Syntax
[BuildElementArray("include")]
public CompilerWarningCollection Includes { get; }
Attributes
Type | Description |
---|---|
Build |
Indicates that property should be treated as a XML arrayList |
Value
Type | Description |
---|---|
Compiler |