I have an issue that started appearing after an upgrade of V
We are using
Typemock Isolater 8.9.2
OpenCover 4.7.922
Visual Studio 2019 Build tools
To run our typemock test with OpenCover, we use a command like the following:
TMockRunner.exe OpenCover.Console.Exe -target:vstest.console.exe -register:Path64 -targetArgs:mydlltotest.dll /logger:trx /settings:mySettings.runsettings /InIsolation -output:cover.xml
This worked correctly for us with Visual Studio 2019 Build tools version 16.5.5 (and prior).
This started failing for us when we updated to the latest version of Visual Studio 2019 Build tools (currently 16.8.3):
https://docs.microsoft.com/en-us/visualstudio/releases/2019/history
The tests fail with the following error message:
TypeMock.TypeMockException:
12:39:27 *** OpenCover Profiler is loaded instead of Typemock Isolator. You can enable Isolator using the following methods:
* To run Typemock Isolator as part of an automated process you can:
- run tests via TMockRunner.exe command line tool and use the -link <ProfilerName>
- use 'TypeMockStart' tasks for MSBuild or NAnt <TypeMockStart Link = <ProfilerName>/>
For more information consult the documentation (see 'Running Unit Tests in an Automated Build')
Is this a known issue? Are there any workarounds or fixes available?
Thanks,
Matt Smith