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 cannot get TypeMock and NCover to work together. I'm using TypeMock's msbuild tasks. NCover starts and prints "Waiting for profiled application to connect". NUnit executes tests, but it never connects to NCover. At the end NCover prints "Profiled process terminated. Profiler connection not established."

What am I doing wrong?

I'm using TypeMock, NCover 1.5.4. and NUnit 2.2.5

asked by patko (600 points)

1 Answer

0 votes
You will need a license for this. You have received a Demo License with the registration, so register the license.
Then you will have to use the following command
<Target Name="TestWithTypeMock">
  <TypeMockStart Link ="NCover" ProfilerLaunchedFirst="true"/>
  <Exec ContinueOnError="true" Command="$(NCover) $(NUnit) Test.dll"/>

if this doesn't work, please send the value of the following registry key:
answered by scott (32k points)