I'm working on creating a simple Nant script that will utilize the assemblyname::get-version function which is documented here: http://nant.sourceforge.net/release/0.85/help/functions/assemblyname.get-version.html
I'm getting a failure "Unknown function 'version::get-major-version'. The .dll is indeed present in the directory that I'm running nant. Which I'm doing so by opening up the cmd prompt and cd'ing to the directory and using the command 'nant'
Any help is appreciated!
<target name="updater">
<echo message = "Hello!" />
<echo message="${version::get-major-version(assemblyname::get-version(assemblyname::get-assembly-name('nunit.util.dll')))}" />
</target>