Thank you Arnaud! You're suggestion didn't fix my problem, but it did help me determine the source of the problem.
The assemblyname property of the test element wants a full path. It doesn't like relative paths. - Ants | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf Of | Anthony Francisco | Sent: Friday, 28 March, 2003 15:19 | To: 'Arnaud PICHERY' | Cc: [EMAIL PROTECTED] | Subject: RE: [nant-dev] [Nant-users] How to use nunit2 task (resend) | | | Yup, I tried that as my first attempt to solve the problem. I | wasn't as fortunate as you were. :-( | | - Ants | | | -----Original Message----- | | From: Arnaud PICHERY [mailto:[EMAIL PROTECTED] | | Sent: Friday, 28 March, 2003 15:11 | | To: 'Anthony Francisco' | | Cc: [EMAIL PROTECTED] | | Subject: RE: [nant-dev] [Nant-users] How to use nunit2 task (resend) | | | | | | I have encountered the same problem and solved it by copying | | the nunit.framework.dll Assembly from the nant directory to | | the directory where my assembly containing the test cases resides. | | | | Here are extracts from my build file: | | | | <script language="C#"> | | <code><![CDATA[ | | public static void ScriptMain(Project project) { | | project.Properties.Add("nant.dir", new | | System.IO.FileInfo(new | | System.Uri(project.Properties["nant.filename"]).LocalPath).Dir | | ectory.Ful | | lName); | | } | | ]]></code> | | </script> | | ... | | <copy file="${nant.dir}\nunit.framework.dll" | | todir="${build.dir}"/> ... <nunit2> | | <test assemblyname="${build.dir}\Systar.SAF.Web.UnitTests.dll" | | /> | | </nunit2> | | ... | | | | | | Hope this helps, | | Arnaud :O) | | | | | | ------------------------------------------------------- | This SF.net email is sponsored by: | The Definitive IT and Networking Event. Be There! | NetWorld+Interop Las Vegas 2003 -- Register today! | http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en | _______________________________________________ | Nant-users mailing list | [EMAIL PROTECTED] | https://lists.sourceforge.net/lists/listinfo/n| ant-users | ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
