“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.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on ““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”

  1. With Maven, then, you just have to tell SonarQube which code coverage engine you wish to use: jacoco or cobertura or emma or clover.

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s