NAnt SDK Documentation - v0.92 |

# LoadTasksTask.ExecuteTask Method

Executes the Load Tasks task.

[Visual Basic]
<ReflectionPermission(Flags:=ReflectionPermissionFlag.NoFlags, TypeInformation:=False, MemberAccess:=False, ReflectionEmit:=False, RestrictedMemberAccess:=False, Action:=SecurityAction.Demand, Unrestricted:=False)>
Overrides Protected Sub ExecuteTask()
[C#]
[ReflectionPermission(Flags=ReflectionPermissionFlag.NoFlags, TypeInformation=False, MemberAccess=False, ReflectionEmit=False, RestrictedMemberAccess=False, Action=SecurityAction.Demand, Unrestricted=False)]
protected override void ExecuteTask();

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | Specified assembly or path does not exist.

#### See Also

LoadTasksTask Class | NAnt.Core.Tasks Namespace