NAntContrib Help Task Reference <depends> | v0.92-alpha1 |
[This is preliminary documentation and subject to change.]
On execution guarantees the listed dependencies are resolved before continuing. It is particularly useful for handling dynamic dependencies that change based on some input conditions/parameters, or when the dependencies are not known until runtime.
The depends task never forces the execution of any target that has already been executed. It works just like the depends attribute of a Target.Attribute | Type | Description | Required |
---|---|---|---|
on | string | A space or comma separated dependency list of targets. | True |
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 |