Reply to comment

roger's picture

Getting NBehave to work with NUnit 2.5.5

NBehave depends on NUnit 2.5.2. To get it to work with NUnit 2.5.5, you can create an NBehave-Console.exe.config file containing the following:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="nunit.framework"
                          culture="neutral"
                          publicKeyToken="96d09a1eb7f44a77" />
        <bindingRedirect oldVersion="2.5.2.9222" newVersion="2.5.5.10112" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

This will cause it to use 2.5.5.10112 instead of 2.5.2.9222. You’ll also need to overwrite the copy of nunit.framework in the NBehave directory with the newer version.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <blockquote> <br> <code> <dd> <dl> <dt> <hr> <h1> <h2> <h3> <i> <img> <li> <ol> <p> <pre> <table> <td> <th> <tr> <tt> <u> <ul>
  • Images can be added to this post.

More information about formatting options