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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
I have multiple versions of the .net framework installed on our Continuous Integration server and I am trying to launch the nunit console with tmockrunner but I can not figure out how to do it so that the correct version of the clr is specified when nunit is launched. The nunit documentation describes the clr.bat file and how to launch nunit with the correct clr version. This works fine but I just can not get the correct command syntax when trying to throw tmockrunner into the mix.

Can you be of any assistance?
asked by jnapier (9.6k points)

2 Answers

0 votes
I found this to work from a command prompt if you start from the nunit directory

call clr.bat net-2.0 & call "C:Program FilesTypeMock.NETTypeMock.NET mockrunner.exe" nunit-console.exe

Its 2 separate calls, I still cant figure out how to do it in one call
answered by jnapier (9.6k points)
0 votes
Version 3.1 now supports .NET framework version switching.
(See TMockRunner, Nantand MSBuildintegration.
answered by scott (32k points)
...