使用Resharper 7 for MBUnit的调试单元测试会引发异常

编程入门 行业动态 更新时间:2024-10-24 14:21:27
本文介绍了使用Resharper 7 for MBUnit的调试单元测试会引发异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经安装了在 code.google/p/mb-unit/issues/detail?id=900#c9 按照如何在Resharper 7中支持MBUnit测试.

当我右键单击一个单元测试内部并单击运行单元测试"时,该测试运行正常.但是,当我右键单击然后单击调试单元测试"时,我得到:

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的调试单元测试会引发异常

本文发布于:2023-10-31 05:02:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545081.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单元测试   异常   Resharper   MBUnit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!