同时适用于 xunit 和 mspec 的 Reharper 运行器插件

发布于 2024-08-29 21:27:38 字数 177 浏览 5 评论 0原文

我已成功使用 Resharper 4.5 运行程序在 vs2008 中进行 xunit 测试。现在我想尝试 MSpec,并且想使用 Resharper 4.5 运行程序来执行 MSpec。但我已经安装了它们,启动 Visual Studio 时出现错误消息,无法加载插件,因为已经加载了同名插件。

是否可以同时加载两个插件?

I have successfully used the Resharper 4.5 runner for xunit tests in vs2008. Now I want to try out MSpec and I want to use the Resharper 4.5 runner for MSpec. But I have them both installed I get an error message when starting Visual Studio, that a plugin can not be loaded, because there is already a plugin with the same name loaded.

Is it possible to have the two plugins loaded simultaniously?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏日落 2024-09-05 21:27:38

MSpec 和 xUnit 插件彼此之间没有任何联系,因为它们共享代码或名称。

我怀疑您确实将其中一个插件放在两个位置,以便它加载两次,但第二次加载失败。这两个插件我都用过一段时间了,所以应该没有问题。

请通过 ReSharper 检查您的插件列表 |插件并查看是否有任何这些插件的重复条目。应取消选中该复选框。

确保 xUnit 和 MSpec 插件仅在 ReSharper 搜索插件的目录中部署一次。这是:

  • c:\Program Files\JetBrains\ReSharper\v4.5\Bin\Plugins
  • c:\Users\<用户
    name>\AppData\Roaming\JetBrains\ReSharper\v4.5\vs9.0\Plugins\

对于 ReSharper 4.5 和 Visual Studio 2008,分别为

The MSpec and the xUnit plugins are in no way connected to each other in that they share code or their name.

I suspect you did put one of the plugins in two places such that it is loaded twice with the the second load failing. I've used both plugins myself for a while, so there should be no issue.

Please check you plugin list via ReSharper | Plugins and see if there's duplicate entry for any those plugins. One should have the checkbox unticked.

Make sure that both the xUnit and the MSpec plugin are only deployed once in directories ReSharper searches for plugins. This is:

  • c:\Program Files\JetBrains\ReSharper\v4.5\Bin\Plugins
    and
  • c:\Users\<user
    name>\AppData\Roaming\JetBrains\ReSharper\v4.5\vs9.0\Plugins\

for ReSharper 4.5 and Visual Studio 2008, respectively.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文