NAnt SDK Documentation - v0.92 |

# ConsoleDriver.Main Method

Starts NAnt. This is the Main entry point.

[Visual Basic]
Public Shared Function Main( _
ByVal args As String() _
) As Integer
[C#]
public static int Main(
string[] args
);

#### Parameters

args
  Command Line args, or whatever you want to pass it. They will treated as Command Line args.

#### Return Value

The exit code.

#### See Also

ConsoleDriver Class | NAnt.Core Namespace