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.
WarningAsError Class | NAnt.DotNet.Types Namespace