GOUIGOUX Jean-Philippe wrote:

The NAnt output for the <nunit2> task is as follows :

[nunit2] Assembly "N:\N05-TableauxDeBord\tests\TBordNETWork.dll" is using ver sion 2.2.5.0 of the NUnit framework. If any problems arise, then either rebuild this assembly using version 2.2.0.0 of the NUnit Framework or use a binding redi rect from version 2.2.5.0 to version 2.2.0.0 of the NUnit Framework.

        BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s)

It is indeed just a warning, instead of an error when I was using 0.85 RC3. I am using the nightly build from 20th of January 2006.

I don't see any problem with your setup, assuming your test exclusion is correct. The fact that you're getting a warning suggests to me that your bindingRedirect is working. I get the same warning, but the tests run. The only configuration differences between yours and mine are:
   I have the public key token for the bindingRedirect in all uppercase.
   I don't use NUnit exclusions.
   I use the <assemblies> fileset instead of the assemblyname= attribute.

At this point, I suggest adding verbose="true" to the NUnit2 task to see if that gives more information, and perhaps running NAnt in verbose mode (-v). After that, some things to try: a. Invoke nunit-console manually, being sure to be in the N05-TableauxDeBord directory, i.e. nunit-console /xml=temp/myNunitResults.xml /exclude=Long tests/TBordNETWork.dll
   b.  Remove the excludes.
   c.  Rebuild your tests against NUnit 2.2, and see if they work that way.

Gary



-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to