使用Resharper 7 for MBUnit的调试单元测试会引发异常 [英] Debug Unit Tests using Resharper 7 for MBUnit throws an exception

查看:83
本文介绍了使用Resharper 7 for MBUnit的调试单元测试会引发异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了在 http://code.google.com/p/mb-unit/issues/detail?id=900#c9 按照当我右键单击一个单元测试内部并单击运行单元测试"时,该测试运行正常.但是,当我右键单击然后单击调试单元测试"时,我得到:

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:

无法加载文件或程序集'Gallio.ReSharperRunner71, 版本= 0.0.0.0,文化=中性,公钥令牌=空'或其中之一 依赖关系.系统找不到指定的文件.

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!

推荐答案

您正在使用哪个版本的Gallio? (我已对该插件进行了硬编码,以链接到Gallio.dll 3.4.11.0)

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

您需要在plugin文件夹中包含以下文件:

You need the following files in the plugin folder:

  • Gallio.ReSharperRunner71.dll
  • Gallio.ReSharperRunner71.plugin
  • Gallio.dll
  • Gallio.XmlSerializers.dll(不确定是否需要此文件.)

有帮助吗?

这篇关于使用Resharper 7 for MBUnit的调试单元测试会引发异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆