My test assemblies were originally created with version 2.1.4. I put the following in my test .config file as advertised, but got identical results:
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" /> <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.0.0" /> <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> So, I went ahead and upgraded to nunit2.2 and recompiled just to try to verify that it wasn't an nunit version problem. -----Original Message----- From: Kevin Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 6:25 AM To: Rick Busch Cc: nant-users@lists.sourceforge.net Subject: Re: [Nant-users] Problem with nunit2 I've never had any trouble with the nunit2 task. What compelled you to recompile? Rick Busch wrote: > I am a new Nant user and have so far been unable to execute existing > nunit tests using the nunit2 task. > > I'm using the 0.85 rc version of Nant and have re-compiled my nunit > assembly using Nunit 2.2. > > > > I get the following from Nant: > > > > [nunit2] Assembly <assembly name> was not built using the Nunit > framework and/or contains no tests. > > > > Here's my tests target: > > > > <target name="runtests"> > > <nunit2 haltonfailure="false" failonerror="false" verbose="true"> > > <formatter type="Xml" usefile="true" extension=".out" > outputdir="${build.dir}/results" /> > > <test assemblyname="${build.dir}/CoshakCompTest.dll" > > appconfig="${build.dir}/CoshakCompTest.dll.config" > > testname="TestHelloWorld" /> > > </nunit2> > > </target> > > > > Any ideas? > > > > > ---------- Scanned for viruses by ClamAV ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users