Last Updated: 26 Oct 2020 15:25 by ADMIN
Created on: 13 Jul 2020 09:05
Type: Bug Report
Integration with code coverage does not work with Visual Studio Enterprise 2019 (16.6.3)

Integration with Visual Studio Enterprise Code Coverage does not work if the project refers Microsoft.NET.Test.Sdk package version 16.3 (and above). The test run fails with exception:

Telerik.JustMock.Core.ElevatedMockingException : Cannot mock '<type to mock goes here>'. The profiler must be enabled to mock, arrange or execute the specified target.
    Detected active third-party profilers:
    * C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Dynamic Code Coverage Tools\amd64\covrun64.dll (from process environment)
    Disable the profilers or link them from the JustMock configuration utility. Restart the test runner and, if necessary, Visual Studio after linking.


1 comment
Posted on: 26 Oct 2020 15:25

The reported issue can't be reproduced with the latest Visual Studio Enterprise 2019 (16.7.6). This is why I will decline this item.

If you encounter any issues with the code coverage integration, do not hesitate to contact us.

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at