NAnt SDK Documentation - v0.92

AssemblyNameFunctions.GetFullName Method 

Gets the full name of the assembly, also known as the display name.

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

Parameters

assemblyName
The AssemblyName of the assembly.

Return Value

The full name of the assembly, also known as the display name.

Example

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'))}" />
    
  

See Also

AssemblyNameFunctions Class | NAnt.Core.Functions Namespace | GetName