I cannot get the nunit2->test task to recognize a linked assemby. Nant
compiles the test assembly with linked references fine, but when I use
it to run tests I get several of these errors:
[nunit2] 15) net.sf.vitfordotnet.MyOptionsTest.PrintUsageTest :
System.IO.FileNotFoundException :
Could not load file or assembly 'dotnetcli-0.1.1, Version=0.1.1.0,
Culture=neutral, PublicKeyToken=
null' or one of its dependencies. The system cannot find the file
specified.
My config looks like this:
<!-- run unit tests on this project -->
<target name="test" depends="compile.test">
<nunit2 haltonfailure="false">
<formatter type="Plain" />
<test assemblyname=
"${target}/${proj.shortname}-tests-${version}.dll"
appconfig="src/test/resources/App.config">
<assemblies>
<include
name="src/main/resources/*.dll" />
</assemblies>
<categories>
<exclude name="NotWorking" />
</categories>
</test>
</nunit2>
</target>
The assembly that Nant claims it cannot find is in fact present in the
directory src/main/resources. I have tried variations using the lib
task as well, to no avail.
Help!
Thanks!
--
-a
"condensing fact from the vapor of nuance"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users