<loadtasks>Loads tasks from a given assembly or directory.
| Attribute | Type | Description | Required |
|---|
| assembly | string | An assembly to load tasks from. | False |
| path | string | A directory to scan for task assemblies. | False |
| failonerror | bool | Determines whether 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 |
Example
<loadtasks assembly="c:foo\NAnt.Contrib.Tasks.dll" />