target::get-current-target

Gets the name of the target being executed.
string target::get-current-target()

Return Value

A string that contains the name of the target being executed.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions