NAnt SDK Documentation - v0.92

Project.Execute Method (String)

Executes a specific target, and its dependencies.

[Visual Basic]
Overloads Public Sub Execute( _
   ByVal targetName As String _
)
[C#]
public void Execute(
   string targetName
);

Parameters

targetName
The name of the target to execute.

Remarks

Global tasks are not executed.

See Also

Project Class | NAnt.Core Namespace | Project.Execute Overload List