NAnt SDK Documentation - v0.92

AssemblyFunctions.GetLocation Method 

Gets the physical location, in codebase format, of the loaded file that contains the manifest.

[Visual Basic]
<Function(Name:="get-location")>
Public Shared Function GetLocation( _
   ByVal assembly As Assembly _
) As String
[C#]
[Function(Name="get-location")]
public static string GetLocation(
   Assembly assembly
);

Parameters

assembly
The assembly to get the location for.

Return Value

The location of the specified assembly.

See Also

AssemblyFunctions Class | NAnt.Core.Functions Namespace