简体   繁体   English

MbUnit和Resharper集成在Visual Studio 2010中不起作用

[英]MbUnit and Resharper integration not working in Visual Studio 2010

I set up a new machine this week. 我本周开了一台新机器。 It is running Windows 7, 64 bit. 它运行的是Windows 7,64位。 I installed Visual Studio 2010 Professional, then Resharper 5.0, rapidly followed by Resharper 5.1 when it came out soon after. 我安装了Visual Studio 2010 Professional,然后安装了Resharper 5.0,很快就推出了Resharper 5.1。 Since I have a project with tests in MbUnit, I have installed MbUnit/Gallio , using the 3.1.397 version x64 msi installer from here . 因为我有在MbUnit的测试项目,我已经安装了MbUnit的/公堂 ,使用3.1.397版本的x64 MSI安装程序从这里

I was expecting to see the green gutter icons that Reshaper puts next to my tests, but I do not. 我期待看到Reshaper在我的测试旁边放置的绿色阴沟图标,但我没有。 I tried removing Gallio and installing the 32 bit version. 我尝试删除Gallio并安装32位版本。 No change. 没变。 I re-installed both Resharper as Gallio as per this question , but this produced no change. 根据这个问题我重新安装了Resharper作为Gallio,但这没有产生任何变化。 In this procedure, %APPDATA% is set to C:\\Users\\Me\\AppData\\Roaming , so I deleted C:\\Users\\Me\\AppData\\Roaming\\JetBrains . 在此过程中, %APPDATA%设置为C:\\Users\\Me\\AppData\\Roaming ,因此我删除了C:\\Users\\Me\\AppData\\Roaming\\JetBrains I have also tried unstalling both Reshaper and gallio, deleting all Resharper and Gallio data from AppData\\Roaming , AppData\\Local , and C:\\Program Files (x86) , and then installing again from a cmd running as admin, but again, no change. 我还尝试卸载Reshaper和gallio,从AppData\\RoamingAppData\\LocalC:\\Program Files (x86)删除所有Resharper和Gallio数据,然后从以管理员身份运行的cmd再次安装,但同样,没有更改。

Resharper has no plugins listed in the Plugins dialog, and in the Resharper|Options|Unit testing item the "unit testing providers" listed are MSTest and nUnit. Resharper没有在插件对话框中列出的插件,在Resharper|Options|Unit testing项中,列出的“单元测试提供程序”是MSTest和nUnit。

Visual studio has two other Add-ins listed: ".Net Reflector" and "Visual Git". Visual Studio还列出了另外两个加载项:“。Net Reflector”和“Visual Git”。

What do I have to do to get MBUnit working in Resharper? 我需要做些什么才能让MBUnit在Resharper中工作?

Which of these two tools provides the integration? 这两个工具中的哪一个提供了集成? Should I install Resharper or Gallio first? 我应该先安装Resharper还是Gallio?

Where do the integration files or settings go? 集成文件或设置在哪里? It has been suggested that I should have a "resharper plugins directory" in C:\\Program Files (x86)\\JetBrains\\ReSharper\\v5.1\\Plugins or similar but this is not present at all. 有人建议我在C:\\Program Files (x86)\\JetBrains\\ReSharper\\v5.1\\Plugins或类似的应该有一个“resharper插件目录”,但这根本不存在。

R# 5.1 RTW is supported by Gallio/MbUnit starting from v3.2.512. 从v3.2.512开始Gallio / MbUnit支持R#5.1 RTW You can download the latest binaries of the Gallio bundle in the daily builds repository . 您可以在每日构建存储库中下载Gallio软件包的最新二进制文件。 v3.2 is not officially released yet but it is very stable already. v3.2尚未正式发布,但已经非常稳定了。

UPDATE 1: R#5.1 officially supported . 更新1: R#5.1正式支持
UPDATE 2: Gallio v3.2 RC with R# 5.0 and 5.1 support. 更新2: Gallio v3.2 RC ,支持R#5.0和5.1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM