NAnt SDK Documentation - v0.92

PathElement.UnlessDefined Property

Opposite of IfDefined. If false then the entry will be added to the path; otherwise, skipped. The default is false.

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

See Also

PathElement Class | NAnt.Core.Types Namespace