NAnt SDK Documentation - v0.92

AssemblyNameFunctions.GetCodeBase Method 

Gets the location of the assembly as a URL.

[Visual Basic]
<Function(Name:="get-codebase")>
Public Shared Function GetCodeBase( _
   ByVal assemblyName As AssemblyName _
) As String
[C#]
[Function(Name="get-codebase")]
public static string GetCodeBase(
   AssemblyName assemblyName
);

Parameters

assemblyName
The AssemblyName of the assembly.

Return Value

The location of the assembly as a URL.

See Also

AssemblyNameFunctions Class | NAnt.Core.Functions Namespace | GetName