Hi, Gary
>What is the name of the assembly that contains the tests, not the one
>that contains the code being tested? It's the one containing the tests
>that needs the config file, not the one that you're testing. If the
>tests are in the same assembly as the code being tested, then that's ok.
In fact, it is : both code and tests are in the same assembly, as we need to deliver self-testing assemblies to our customers.
>This isn't the default VS configuration, so I'm not sure how you're
>organizing things. Have you moved everything from the test project's
>bin/Debug (or bin/Release) into the tests directory? Or have you
>changed the target directory for the compilation from bin/Debug to
>something else? Otherwise, it's not clear how either NAnt or NUnit can
>find everything it needs to run the test.
The tests directory contains the whole output of the compilation destination directory, including all necessary references. The system worked fine when I was using NUnit 2.2.0. The only difference is that, now, the included nunit.framework reference is the 2.2.5 one...
I made another round of test, putting the bindingRedirects in NAnt .config file instead of the <assembly-to-be-tested>.dll.config file, mixing both, etc. but no success. Any further idea ?
Thanks for the help,
JP
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ NAnt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users