Gets the
System.Reflection.AssemblyName
for a given file.
Remarks
The assembly is not added to this domain.
AssemblyName assemblyname::get-assembly-name(assemblyFile)
Parameters
Name | Type | Description |
---|---|---|
assemblyFile | string | The assembly file for which to get the System.Reflection.AssemblyName . |
Return Value
An
System.Reflection.AssemblyName
object representing the given file.
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'))}" />
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions