6

I think I'm missing something here. I installed Tesdriven and then Gallio (third link from top - Gallio 3.5 x64 installer)

Then I installed the mbunit dlls from Nuget because I didn't want to include a dll from my hard drive as it makes it difficult for the project to be ported to other machines..

However, when I try to run a sample test, testrunner insists that I reference the dlls from my hard disk.. the actual error message is this:

It looks like you're trying to execute a Gallio/MbUnit unit test.

For Gallio v3.0.6 build 787 / Gallio v3.1 build 313 or above (recommended):
Please ensure that the directory containing your 'MbUnit.dll' reference also contains Gallio's
test runner files ('MbUnit.dll.tdnet', 'TDNet\Gallio.TDNetRunner.dll', 'Gallio.dll' etc.)

For earlier versions:
You need to install Gallio (after TestDriven.Net) using its MSI installer.

You can find Gallio downloads and support here:
http://www.gallio.org/

So, is there a way to get testrunner to run the tests with just nuget packages, please?

LocustHorde
  • 5,813
  • 14
  • 54
  • 86

1 Answers1

9

Currently nuget gallery has only 3.3.1 version of mbunit package, and you installed Gallio v3.4. It's very annoying limitation of gallio and mbunit. In order to use nuget package you have to downgrade Gallio on your machine to v3.3.1. Better solution it's mail to gallio/mbunit team and ask to upload nuget package with latest release or make it by yourself.

Pavel Bakshy
  • 7,559
  • 3
  • 35
  • 22
  • Hi, That worked!! Thanks so much, though, I have a question. How did you figure out that the versions were different and I needed the same versions for it to run smoothly, please? – LocustHorde Oct 01 '12 at 12:28
  • 1
    We use mbunit at my job, and from time to time face with problem of different versions of installed gallio and dlls. – Pavel Bakshy Oct 01 '12 at 13:39
  • I occasionally use MbUnit at work and I just ran into this problem as well. Your answer put an end to 3 hours of smacking my head against the desk – Martin Brenden Oct 02 '12 at 15:08