NAnt SDK Documentation - v0.92

Project.DefaultTargetName Property

[Visual Basic]
Public ReadOnly Property DefaultTargetName As String
[C#]
public string DefaultTargetName {get;}

Property Value

The name of the target that will be executed when no other build targets are specified, or a null reference (Nothing in Visual Basic) if no default target is specified in the build file.

Remarks

Gets the name of the target that will be executed when no other build targets are specified.

See Also

Project Class | NAnt.Core Namespace