NAnt
![]() ![]() ![]() |
v0.85-rc1 |
[This is preliminary documentation and subject to change.]
Executes embedded tasks. First inherit from TaskContainer, then call ExecuteChildTasks during Exec.
All build elements (like a <fileset>) are automatically excluded from things that get executed. They are evaluated normally during XML task initialization.
For an example, see <if> task or <foreach> task.
Attribute | Type | Description | Required |
---|---|---|---|
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
unless | bool | Opposite of if . If false then the task will be executed; otherwise, skipped. The default is false. |
False |
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |