简体   繁体   中英

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. I installed Visual Studio 2010 Professional, then Resharper 5.0, rapidly followed by Resharper 5.1 when it came out soon after. 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 .

I was expecting to see the green gutter icons that Reshaper puts next to my tests, but I do not. I tried removing Gallio and installing the 32 bit version. No change. I re-installed both Resharper as Gallio as per this question , but this produced no change. In this procedure, %APPDATA% is set to C:\\Users\\Me\\AppData\\Roaming , so I deleted 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.

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.

Visual studio has two other Add-ins listed: ".Net Reflector" and "Visual Git".

What do I have to do to get MBUnit working in Resharper?

Which of these two tools provides the integration? Should I install Resharper or Gallio first?

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.

R# 5.1 RTW is supported by Gallio/MbUnit starting from v3.2.512. You can download the latest binaries of the Gallio bundle in the daily builds repository . v3.2 is not officially released yet but it is very stable already.

UPDATE 1: R#5.1 officially supported .
UPDATE 2: Gallio v3.2 RC with R# 5.0 and 5.1 support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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