NAnt SDK Documentation - v0.92

WarningAsError.Includes Property

Specifies a list of warnings that the compiler should treat as errors. This overrides the WarnAsError attribute. Only supported when targeting .NET 2.0 or higher.

[Visual Basic]
<BuildElementArray(ElementType:=null, Name:="include", Required:=False, ProcessXml:=True)>
Public ReadOnly Property Includes As CompilerWarningCollection
[C#]
[BuildElementArray(ElementType=null, Name="include", Required=False, ProcessXml=True)]
public CompilerWarningCollection Includes {get;}

See Also

WarningAsError Class | NAnt.DotNet.Types Namespace