NAnt SDK Documentation - v0.92

CompilerBase.NoWarn Property

NOTE: This property is now obsolete.

Use the <nowarn> element instead.


Specifies a comma-separated list of warnings that should be suppressed by the compiler.

[Visual Basic]
<Obsolete(Message:="Use the <nowarn> element instead.", IsError:=False), _  TaskAttribute(Required:=False, Name:="nowarn", ExpandProperties:=True, ProcessXml:=True)>
Overridable Public Property NoWarn As String
[C#]
[Obsolete(Message="Use the <nowarn> element instead.", IsError=False)]
[TaskAttribute(Required=False, Name="nowarn", ExpandProperties=True, ProcessXml=True)]
public virtual string NoWarn {get; set;}

Property Value

Comma-separated list of warnings that should be suppressed by the compiler.

Remarks

Corresponds with the /nowarn flag.

See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace