task::get-location

[This is preliminary documentation and subject to change.]

Returns the filename of the assembly from which the specified task was loaded.

Usage

task::get-location(name)

Parameters

Name Type Description
name string The task to get the location of.

Return Value

The filename of the assembly from which the specified task was loaded.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.85.1698.0)