Skip to content

Code Coverage in Visual Studio 2010 Beta 2

by Alex Peck on December 3rd, 2009

I spent a while trying to enable code coverage in Visual Studio 2010 Beta 2. After I ran my unit tests, when I tried to view the code coverage I got this message:

Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems.

In LocalTestRun.testrunconfig I had code coverage enabled, but it took me a few attempts to realise how to get to the page where you can select which artifacts to instrument.

Double click code coverage row to get to next page

Double click code coverage row to get to next page

I’m not really too sure what visual cues indicate that I can double click the row to open the code coverage detail page. This is poor UI, hopefully it will be changed prior to release.

Then choose which artifacts to instrument here

Choose which artifacts to instrument here

One Comment
  1. Michae Laterza permalink

    Very poor design…if i knew I just had to double click the row I could have my three hours back.

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS