I too am experiencing the same problem. Only thing is that I have NOT upgraded NUnit or NAnt on this machine in quite some time, only CruiseControl.NET has been upgraded. Would this have anything to do with it?
Oh, and I added these silly assembly binding changes to my test assembly's Config file that gets copied to the folder where the tests are run (via my wonderful post-build event, which fires) and still it does nothing! Cheers, Stephen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Kirkpatrick Sent: October 19, 2005 12:17 PM To: nant-users@lists.sourceforge.net Subject: [Nant-users] Nunit2 Task I have a simple question. I am getting this error using NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) along with Nunit 2.2.0.0. In the Nant documentation it says to add assembly binding to a test config file. But I am building against the 2.2.0.0 nunit.framework.dll. Can anyone please provide some assistance? Thank you very much. BUILD FAILED D:\build\npa\npa.build(349,5): Failure executing test(s). If you assembly is not built using NUnit version 2.2.0.0, then ensure you have redirected assembly bindings. Consult the documentation of the <nunit2> task for more information.: NAnt.Core.BuildException: D:\build\npa\npa.build(349,5): Failure executing test(s). If you assembly is not built using NUnit version 2.2.0.0, then ensure you have redirected assembly bindings. Consult the documentation of the <nunit2> task for more information. ---> System.IO.FileNotFoundException: File or assembly name Esurance.PolicyAccounting.CoreDataService.Data.Test.test, or one of its dependencies, was not found. File name: "Esurance.PolicyAccounting.CoreDataService.Data.Test.test" >From http://nant.sourceforge.net/release/latest/help/tasks/nunit2.html In order to run a test assembly built with NUnit 2.0 or 2.1 using the NAnt <nunit2> task, you must add the following node to your test config file : <configuration> ... <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> ... </configuration> ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users This Message Scanned for Viruses by McAfee WebShield . ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users