Debug Unit Tests using Resharper 7 for MBUnit throws an exception

最后都变了- 提交于 2019-12-11 16:33:27

问题


I have installed the Gallio Resharper Test Runner found at http://code.google.com/p/mb-unit/issues/detail?id=900#c9 Per the instructions at How to support MBUnit tests in Resharper 7.

When I right click inside of a unit test and click "Run Unit Tests" the tests run just fine. However when I right click and then click "Debug Unit Tests" I get:

Could not load file or assembly 'Gallio.ReSharperRunner71, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

How do I fix this? Many thanks!


回答1:


Which version of Gallio are you using? (I have hardcoded the plugin to link to Gallio.dll 3.4.11.0)

You need the following files in the plugin folder:

  • Gallio.ReSharperRunner71.dll
  • Gallio.ReSharperRunner71.plugin
  • Gallio.dll
  • Gallio.XmlSerializers.dll (Not sure if this one is required..)

Does that help?



来源:https://stackoverflow.com/questions/15550540/debug-unit-tests-using-resharper-7-for-mbunit-throws-an-exception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!