AssemblyNameFunctions.

GetCodeBase(AssemblyName) Method

Summary

Gets the location of the assembly as a URL.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
AssemblyNameFunctions

Syntax

[Function("get-codebase")]
public static string GetCodeBase(AssemblyName assemblyName)

Attributes

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

Parameters

Name Type Description
assemblyName AssemblyName The System.Reflection.AssemblyName of the assembly.

Return Value

Type Description
string The location of the assembly as a URL.

See Also

  • NAnt.Core.Functions.AssemblyFunctions.GetName(System.Reflection.Assembly)