同时适用于 xunit 和 mspec 的 Reharper 运行器插件
我已成功使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSpec 和 xUnit 插件彼此之间没有任何联系,因为它们共享代码或名称。
我怀疑您确实将其中一个插件放在两个位置,以便它加载两次,但第二次加载失败。这两个插件我都用过一段时间了,所以应该没有问题。
请通过 ReSharper 检查您的插件列表 |插件并查看是否有任何这些插件的重复条目。应取消选中该复选框。
确保 xUnit 和 MSpec 插件仅在 ReSharper 搜索插件的目录中部署一次。这是:
和
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.