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
Hi

I'm getting a "Profiler: NCover is not recognized or not installed on your machine There are no recognized profilers" error message when running the build on our WS 2003 Build Server.

I am trying to use the AutoDeploy feature and have thus not installed NCover or TypeMock on the build server. If I understand your documentation correctly, I should be able to get this working without physically installing the tools. What I am doing wrong? Here are the MSBuild scripts I am using:

<TypeMockRegister Company="Sanlam" License="xxxxxxxxxxx" AutoDeploy="true"/>

      <TypeMockStart Target="2.0"
                     Link="NCover"                     
                     ProfilerLaunchedFirst="true" />

      <NCover
          ToolPath="$(NCoverPath)"
          CommandLineExe="$(NUnitCmd)"
          CommandLineArgs="$(DOUBLE_QUOTES)%(TestAssemblies.FullPath)$(DOUBLE_QUOTES) /nologo"
          CoverageFile="%(TestAssemblies.FullPath).$(NCoverFile)"
          LogLevel="Normal"
          LogFile="%(TestAssemblies.FullPath).$(NCoverLogFile)"
          WorkingDirectory="%(TestAssemblies.RootDir)%(TestAssemblies.Directory)"
          ExcludeAttributes=""
          Assemblies="@(CodeAssemblies)"
          RegisterProfiler="false"
          ContinueOnError="true"/>

      <TypeMockStop Undeploy="true"/>


Thanking you in advance
asked by cjlotz (3k points)

2 Answers

0 votes
Hi,

In order to use typemock linking ability with ncover wthout installng ncover, youll need to manually register the ncover dll using your build scripts.

The details can be found in this thread https://www.typemock.com/community/viewtopic.php?t=567

Yiuy were right however that this was not updated iun the documentation thank you for pointing this out. Ill make sure that it will be in our next release.

In any case let me know if this helped you solve the issue.
answered by lior (13.2k points)
0 votes
Thanks - that resolved the issue.
answered by cjlotz (3k points)
...