Patrice, I don't know if this has been fixed in the latest build (I haven't looked at the issue), but I had to actually copy my library to the NAnt\bin directory (as an NAnt copy task) and then run the NUnit2 Tasks to make this work. Obviously this is not an optimal solution, but it's a workaround.
HTH, Aaron Message: 4 -----Original Message----- From: Patrice Calv=E9 [mailto:[EMAIL PROTECTED]]=20 Sent: Tuesday, February 04, 2003 11:55 AM To: [EMAIL PROTECTED] Subject: [nunit-developer] Nunit 2.0 and Nant Hi everyone,=20 I'm new to Nunit and would like information on a particular point.=20 I have a tester.dll. =20 It works through the Nunit 2.0 GUI. =20 It works from the console.=20 It doesn't work with Nant. This must be a simple path/setting issue. = Here's the error:=20 INTERNAL ERROR=20 System.IO.FileLoadException: Unable to load file 'nunit.framework'=20 File name: "nunit.framework"=20 In Nant, the nunit is called this way:=20 <nunit2>=20 <test assemblyname=3D"HelloWorldCSLib_Tester.dll" = outfile=3D"results.xml"/>=20 </nunit2>=20 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
