AssemblyFunctions.

GetLocation(Assembly) Method

Summary

Gets the physical location, in codebase format, of the loaded file that contains the manifest.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
AssemblyFunctions

Syntax

[Function("get-location")]
public static string GetLocation(Assembly assembly)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
assembly Assembly The assembly to get the location for.

Return Value

Type Description
string The location of the specified assembly.