chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
I am trying to run TMockRunner and MbUnit from the command line. I am using the following command:

TMockRunner -link none -target 2.0 Gallio.Echo.exe /rt:html /sr /rd:c:	emp /rnf:test-report /v:verbose /hd:C:Projectssamplemysample.dll" 



it keeps on giving me the following error

System.IO.FileLoadException: Could not load file or assembly 'TypeMock,
Version=0.25974.23666.12345, Culture=neutral, PublicKeyToken=6f667453514c2053' o
r one of its dependencies. The located assembly's manifest definition does not m
atch the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'TypeMock, Version=0.25974.23666.12345, Culture=neutral, Publ
icKeyToken=6f667453514c2053'



Can you please help me with this, I need to be able to run our unit test from the command line.
asked by jacobus.meintjes (600 points)

1 Answer

0 votes
Hi

This is strange. :shock:

Are you running from a build script from a command line window?
Can you please just run TMockRunner.exe without arguments and see if you get the same exception?
answered by ohad (35.4k points)
...