Skip to content

Can no longer see code coverage after updating to VS2022 17.6.4 #338

@tandreasen

Description

@tandreasen

Installed product versions

  • Visual Studio: 2022 professional - 17.6.4
  • This extension: 1.1.194

Description

Fine code coverage not detecting ANY coverage since updating

Steps to recreate

Have a suite of xunit tests - right click solution\Run Tests

Current behavior

Report is showing 0 covered lines, and all red indicators on lines that I know (from the unit tests) are covered.
image
image

Expected behavior

Previously it used to work and show me green lines that were covered, red lines that were not. I recently updated to latest version of VS Build Tools 2022, and added some environment path variables to get my build working (was an issue with .NET 6 SDK not working) - not sure if that can somehow be related or not.

I confirmed that there are still PDB files being generated, and other things to check here.

Lastly, I tried uninstalling\reinstalling the VS2022 Fine Code Coverage extension, but it yielded the same result.

I also confirmed that all my tests are passing, but that shouldn't have an impact.

I will email the logs and cross references this issue, if it helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions