NAnt SDK Documentation - v0.92

Package.UnlessDefined Property

Indicates if the package should not be passed to the task. If false then the package will be passed; otherwise, skipped. The default is false.

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

See Also

Package Class | NAnt.DotNet.Types Namespace