NAnt
Help
Function Reference
assemblyname::get-version |
v0.85-nightly-2005-10-11 |
[This is preliminary documentation and subject to change.]
Gets the version of the assembly.
Version assemblyname::get-version(assemblyName)
| Name | Type | Description |
|---|---|---|
| assemblyName | AssemblyName | The AssemblyName of the assembly. |
Output the major version of the nunit.framework assembly to the build log.
<echo message="${version::get-major-version(assemblyname::get-version(assemblyname::get-assembly-name('nunit.framework.dll')))}" />