Summary
Gets the name of the target that will be executed when no other
build targets are specified.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- ProjectFunctions
Syntax
[Function("get-default-target")]
public string GetDefaultTarget()
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
Type | Description |
---|---|
string |
The name of the target that will be executed when no other build
targets are specified, or an empty string if no
default target is defined for the project.
|