NAnt SDK Documentation - v0.92

NAntTask Properties

The properties of the NAntTask class are listed below. For a complete list of NAntTask class members, see the NAntTask Members topic.

Public Instance Properties

BuildFile The build file to build.
BuildFiles Used to specify a set of build files to process.
DefaultTarget The target to execute. To specify more than one target seperate targets with a space. Targets are executed in order if possible. The default is to use target specified in the project's default attribute.
FailOnError (inherited from Task) Determines if task failure stops the build, or is just reported. The default is true.
IfDefined (inherited from Task) If true then the task will be executed; otherwise, skipped. The default is true.
InheritAll Specifies whether current property values should be inherited by the executed project. The default is true.
InheritRefs Specifies whether all references will be copied to the new project. The default is false.
LogPrefix (inherited from Task)Obsolete. The prefix used when sending messages to the log.
Name (inherited from Task) The name of the task.
NamespaceManager (inherited from Element) Gets or sets the XmlNamespaceManager.
OverrideProperties Specifies a collection of properties that should be created in the executed project. Note, existing properties with identical names that are not read-only will be overwritten.
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.
Threshold (inherited from Task) Gets or sets the log threshold for this Task. By default the threshold of a task is Debug, causing no messages to be filtered in the task itself.
UnlessDefined (inherited from Task) Opposite of IfDefined. If false then the task will be executed; otherwise, skipped. The default is false.
Verbose (inherited from Task) Determines whether the task should report detailed build log messages. The default is false.

Protected Instance Properties

CustomXmlProcessing (inherited from Element) Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) Gets or sets the XML node of the element.

See Also

NAntTask Class | NAnt.Core.Tasks Namespace