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"

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
    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.