Search code examples
visual-studio-2012resharperversioningmbunitgallio

Debug Unit Tests using Resharper 7 for MBUnit throws an exception


I have installed the Gallio Resharper Test Runner found at http://code.google.com/p/mb-unit/issues/detail?id=900#c9 Per the instructions at How to support MBUnit tests in Resharper 7.

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:

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!


Solution

  • Which version of Gallio are you using? (I have hardcoded the plugin to link to Gallio.dll 3.4.11.0)

    You need the following files in the plugin folder:

    • Gallio.ReSharperRunner71.dll
    • Gallio.ReSharperRunner71.plugin
    • Gallio.dll
    • Gallio.XmlSerializers.dll (Not sure if this one is required..)

    Does that help?