Summary
Scans the path for any task assemblies and adds them.
Syntax
[ReflectionPermission(SecurityAction.Demand, Flags = ReflectionPermissionFlag.NoFlags)]
public static void ScanDir(string path, Task task, bool failOnError)
Attributes
Type |
Description |
ReflectionPermissionAttribute |
|
Parameters
Name |
Type |
Description |
path |
string |
The directory to scan in. |
task |
Task |
The NAnt.Core.Task which will be used to output messages to the build log. |
failOnError |
bool |
bool indicating whether scanning of the directory should halt on first error. |
Return Value