“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” issue in Code Coverage in Visual Studio 2012


Hi,

I was getting the above message while analyzing the code coverage for a Unit Test case written for a Plugin using Microsoft Fakes.

Followed this article

http://blogs.msdn.com/b/allendm/archive/2012/06/05/troubleshooting-missing-data-in-code-coverage-results.aspx

And also deleted the .SUO file (hidden file in the root of the solution) and also restarted the Visual Studio. Re-running the code coverage worked properly this time.

Hope it helps.

%d bloggers like this: