I got this exception when I tried to run tmockrunner from command line this morning. :
cmd /C "TMockRunner "C:\Program Files\NUnit\bin\nunit-console.exe" "*.nunit""
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3
CLR Version: 2.0.50727.3053 ( Net 2.0.50727.3053 )
Could not load file or assembly 'TypeMock, Version=220.127.116.11, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. The system cannot find the file specified.
Here are some of the background info, hopefully it helps you guys to reproduce the problem and suggest a workaround ASAP:
I am currently using version 18.104.22.168
When installing version 22.214.171.124, instead of using one-click install, I used custom install. So I chose the installation path to be "C:\Program Files\TypeMock\Isolator". So the tmockrunner is now located in "C:\Program Files\TypeMock\Isolator"
When installing version 126.96.36.199, I also used custom install, and chose the same directory so that I could override the old copy of Typemock.
I checked the tmockrunner version number, it's 188.8.131.52.