Visual studio 2019 Code Coverage issues

Sebastian Cruz 1 Reputation point
2021-11-16T19:39:53.607+00:00

Hi everyone, I send this question because I have a problem with the Analized code coverage option in Visual Studio 2019 Enterprise which suddenly started to not working at all. As soon as I select this option to know the coverage of my C# solution it start to build it first then it start to prepare the tests to analize but this part never ends, the coverage process continue analizing the solution but never execute any tests no matter how many minutes I wait for it to finish.
This started to happen suddenly as I upgrade the programm to the version 16.11.6 and I don't know what happen because previously all worked as expected and I was able to know the coverage of my projects

149918-coverageissue.png

Developer technologies | Visual Studio | Testing
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,211 Reputation points Microsoft External Staff
    2021-11-17T03:57:50.91+00:00

    Hi @Sebastian Cruz ,

    Welcome to Microsoft Q&A!

    I suggest you upgrade your Visual Studio to the latest version and re-launch your VS to test again.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.