target::get-current-target

Gets the name of the target being executed.

Usage

string target::get-current-target()

Return Value

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

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.4312.0)