Hi;

 

I added

 

<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.1.4.0" />

            </dependentAssembly>

      </assemblyBinding>

</runtime>

 

To Nant.exe.config.

 

I have nunit 2.2 (actually 2.1.91 acording to gacutil) installed and in the GAC.

 

I set my task as:

 

<target name="test" depends="init, compile-windward, compile-test">

      <nunit2>

            <formatter type="Plain" usefile="true" extension=".txt" outputdir="results"/>

            <test assemblyname="test/${dir.output}/TestIt.exe"/>

      </nunit2>

</target>

 

And I get the following error:

 

BUILD FAILED

 

NUnit 2.0 Error:

 File or assembly name nunit.framework, or one of its dependencies, was not found.

 

Total time: 2 seconds.

 

Any ideas?

 

Thanks - dave

Reply via email to