Summary
Gets the simple, unencrypted name of the assembly.
Syntax
[Function("get-name")]
public static string GetName(AssemblyName assemblyName)
Examples
Output the simple name of the nunit.framework
assembly to
the build log.
<echo message="${assemblyname::get-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 simple, unencrypted name of the assembly.
|
See Also
- NAnt.Core.Functions.AssemblyFunctions.GetName(System.Reflection.Assembly)