AssemblyNameFunctions.

GetFullName(AssemblyName) Method

Summary

Gets the full name of the assembly, also known as the display name.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
AssemblyNameFunctions

Syntax

[Function("get-full-name")]
public static string GetFullName(AssemblyName assemblyName)

Examples

Output the full name of the nunit.framework assembly to the build log.

<echo message="${assemblyname::get-full-name(assemblyname::get-assembly-name('nunit.framework.dll'))}" />

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 full name of the assembly, also known as the display name.

See Also

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