Share via

Code coverage empty results generated for Unit Test App - Universal Windows vs 2019

Krishna Murthy Repaka 1 Reputation point
2021-05-11T04:09:01.793+00:00

We have created Unit Test App (Universal Windows) and created some test cases. I have "Processor Architecture for Any CPU projects" updated to x64. we have used VS2019 and windows 10 version is 1909

still I go below error.

"Empty results generated: no binaries were instrumented. make sure the tests ran, required binaries were loaded had matching symbol files, and were not excluded through custom settings. For more information see https://go.microsoft.com/fwlink/?LinkID=253721"

Developer technologies | Visual Studio | Testing
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,201 Reputation points Microsoft External Staff
    2021-05-11T09:10:45.273+00:00

    Hi KrishnaMurthyRepaka-4857,

    Welcome to Microsoft Q&A!

    Please close all VS instances and delete the hidden .vs folder in the root of solution(project) folder. After that, re-launch your VS2019 and try again.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      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?


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.