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 a NAnt test script that runs one set of tests, then builds a test utility (using NAnt's msbuild task) and runs a few more. The only usage of TypeMock is in the first batch of tests.

The first set of tests runs fine, including the one that uses TypeMock (a simple dynamic mock). So I don't think it's my TypeMock configuration per se. But when it comes time to build the test utility, I get a failure from the msbuild task, 'Could not load file or assembly, 'TypeMock, version 0.0.0.0, ...'. This task runs fine if I don't run the first batch of tests. The test utility has its own solution and project file, with no TypeMock usage. (Though I don't think that matters, as this seems to be happening upon starting msbuild, before it even opens the solution file.)

Any idea of what's going on?

Thanks,
Gary
asked by Gary (600 points)

1 Answer

0 votes
Hi Gary
Can you please post your build script?
If you prefer to send it to me directly drop me a line here and I will send you my mail address.
answered by ohad (35.4k points)
...