[seasar-dotnet:486] Re: S2Unitについて

Ryo Miyagi [E-MAIL ADDRESS DELETED]
2007年 3月 13日 (火) 14:49:00 JST


大杉さん

宮城です。

> 1.Include("diconFileName");を実行するとエラーになってしまう。
> 2.テストメソッド毎の初期化・終了処理が実行されない。
> 	SetUpXxx()のメソッドを作成しても呼び出されない。

おそらく、S2Unit.NETが参照しているMbUnitのアセンブリバージョンと
MbUnit2.3.105のアセンブリバージョンが異なるために発生しているエラーだと思います。

お手数ですが、
テストケースが参照しているApp.configに以下の記述を追加して
どうなるか確認していただけますか。

-- App.config ------------------------

<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin"/>
      <dependentAssembly>
        <assemblyIdentity name="MbUnit.Framework" publicKeyToken="5e72ecd30bc408d5" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.999.999.999" newVersion="1.0.2445.37068"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

-- ここまで --------------------------


以上


--------------------------------------
Start Yahoo! Auction now! Check out the cool campaign
http://pr.mail.yahoo.co.jp/auction/



seasar-dotnet メーリングリストの案内