Add the following lines to your  nant.exe.config file under <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.8.0" />
          <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" />
        </dependentAssembly>
      </assemblyBinding>

That should work.
Matt


-- 
View this message in context: 
http://www.nabble.com/How-to-make-nant-find-nunit-assemblies-included-in-nant-distribution--tf4643444.html#a13344578
Sent from the NAnt - Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to