NBehaveとNUnitの-2.5.5.10112は、一緒に仕事ができますか?
質問
私はUnit-2.5.5.10112
を使用しています。それはNUnitの?
万一、私は無視NBehave?
解決
あなたはNBehave 0.4.5は、次の作業を実行して、NUnitの2.5.5.10112を使用して取得することができます:
まず、以下を含むNBehave-Console.exe.configを作成
<?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>
このはNBehave-CONSOLE.EXEはnunit.frameworkの2.5.2.9222を探すとき、それは代わりに2.5.5.10112を使用する必要があることをCLRローダーを伝えます。
第二には、古いバージョンを置き換え、C:\Program Files\NBehave\0.4.5.183
ディレクトリにnunit.framework.dllバージョン2.5.5.10112を入れます。
所属していません StackOverflow