Hi; I'm running: .NET 1.1, nunit 2.2 (actually 2.1.91 acording to gacutil) installed and in the GAC. NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
The nant notes say to add the below xml stuff to the nant config file. Is that wrong? That did get it working on my system at work - but not my system at home. Thanks - dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen Sent: Thursday, August 19, 2004 1:42 AM To: David Thielen; [EMAIL PROTECTED] Subject: Re: [Nant-users] <nunit2> nunit assembly not found Hi David, What version of NUnit is your test assembly built with ? What version of NAnt are you using ? About the assembly binding redirect : adding to to the NAnt configuration file has no effect. You should add it to the application configuration file for your test assembly, and if you don't have one, you should create one ... You might ofcourse also have run into a mono bug ... Gert ----- Original Message ----- From: "David Thielen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 19, 2004 5:44 AM Subject: [Nant-users] <nunit2> nunit assembly not found > Hi; > > > > I added > > > > <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.1.4.0" > /> > > </dependentAssembly> > > </assemblyBinding> > > </runtime> > > > > To Nant.exe.config. > > > > I have nunit 2.2 (actually 2.1.91 acording to gacutil) installed and in > the > GAC. > > > > I set my task as: > > > > <target name="test" depends="init, compile-windward, compile-test"> > > <nunit2> > > <formatter type="Plain" usefile="true" extension=".txt" > outputdir="results"/> > > <test assemblyname="test/${dir.output}/TestIt.exe"/> > > </nunit2> > > </target> > > > > And I get the following error: > > > > BUILD FAILED > > > > NUnit 2.0 Error: > > File or assembly name nunit.framework, or one of its dependencies, was not > found. > > > > Total time: 2 seconds. > > > > Any ideas? > > > > Thanks - dave > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users