Unplanned
Last Updated: 03 Jun 2022 14:13 by Pam
Pam
Created on: 03 Jun 2022 14:13
Type: Bug Report
1
VS 2019 code coverage integration fails when the nuget Microsoft.ApplicationInsights.AspNetCore V2.20.0 is referenced

Referencing the nuget Microsoft.ApplicationInsights.AspNetCore V2.20.0 in the project that is tested leads to the VS 2019 code coverage failing to produce the report. Here are the steps to reproduce:

1. Create a project from the template ASP.NET Core Web API targeting .NET 5

2. Add a reference to the nuget package Microsoft.ApplicationInsights.AspNetCore V2.20.0

3. Create a unit test project from the C# JustMock Test Project (.NET Core) template.

4. Run the VS code coverage.

Expected result: the code coverage report is produced.

Actual result: there is no code coverage report

0 comments