NAnt SDK Documentation - v0.92

JscTask.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)>
Overrides Public Property NoWarn As String
[C#]
[Obsolete(Message="Use the <nowarn> element instead.", IsError=False)]
public override string NoWarn {get; set;}

Remarks

Override to avoid exposing this to build authors, as the JScript.NET compiler does not support package references.

See Also

JscTask Class | NAnt.DotNet.Tasks Namespace