At 04:10 AM 1/19/2006, you wrote:
Hello, again
I have a second question on the way to run NUnit 2.2.5 tests with
nunit2 tasks. I switched from 2.2.0 to 2.2.5 to be able to compile
nunit tests with .NET 2.0, but am now unable to execute them with
NAnt. I saw the bindingredirect element in the task documentation,
but tried without success making a binding from 2.2.0.0 to 2.2.5.0
and even the other way around... Any ideas on how to get them
working ? I keep getting the following error :
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 do
cumentation of the <nunit2> task for more information.
the following config file works for me (i just get a warning) with a
nightly build of nant 0.85.2173.0 and nunit 2.2.5
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity
name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
<bindingRedirect
oldVersion="2.2.5.0" newVersion="2.2.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
---
vice-chair http://ocjug.org/
-------------------------------------------------------
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
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users