NAnt SDK Documentation - v0.92

Library.UnlessDefined Property

If true then the element will be skipped; otherwise, processed. The default is false.

[Visual Basic]
<BooleanValidator, _  TaskAttribute(Name:="unless", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property UnlessDefined As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Name="unless", Required=False, ExpandProperties=True, ProcessXml=True)]
public bool UnlessDefined {get; set;}

See Also

Library Class | NAnt.VisualCpp.Types Namespace