The properties of the Target class are listed below. For a complete list of Target class members, see the Target Members topic.
Dependencies | A collection of target names that must be executed before this target. |
DependsListString | Space separated list of targets that this target depends on. |
Description | The description of the target. |
Executed | This indicates whether the target has already executed. |
IfCondition | If true then the target will be executed; otherwise, skipped. The default is true. |
IfDefined | Gets a value indicating whether the target should be executed. |
Name | The name of the target. |
NamespaceManager (inherited from Element) | Gets or sets the XmlNamespaceManager. |
Parent (inherited from Element) | Gets or sets the parent of the element. |
Project (inherited from Element) | Gets or sets the Project to which this element belongs. |
Properties (inherited from Element) | Gets the properties local to this Element and the Project. |
UnlessCondition | Opposite of IfDefined. If false then the target will be executed; otherwise, skipped. The default is false. |
UnlessDefined | Gets a value indicating whether the target should NOT be executed. |
Target Class | NAnt.Core Namespace