Project.

DefaultTargetName Property

Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public string DefaultTargetName { get; }

Remarks

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

Value

Type Description
string The name of the target that will be executed when no other build targets are specified, or null if no default target is specified in the build file.