C# で記述された単体テスト ケースがあり、COM オブジェクトを呼び出す必要があります。スタンドアロンで実行すると、テスト ケースは正常に動作します。NUnit (v-2.5.9) を介して試行した場合と同じですが、次の例外で失敗します。
System.ArgumentException: Could not convert argument 0 for call to StartInstall.
at System.Dynamic.ComRuntimeHelpers.CheckThrowException(Int32 hresult, ExcepInfo& excepInfo, UInt32 argErr, String message)
at CallSite.Target(Closure , CallSite , ComObject , String , String , String , Object )
at CallSite.Target(Closure , CallSite , Object , String , String , String , Object )
この奇妙な行動の手がかりはありますか?