DevelopMENTAL Madness

Thursday, May 21, 2009

Visual Studio Testing: Code Coverage Property Window Crashes

Problem: If you are using Visual Studio testing tools and you open your testrunconfig file to update or turn on code coverage it closes/crashes immediately.

Workaround: If your solution contains a Silverlight project (not Silverlight Class Library, these are ok for some reason) or a WSSF project (Web Services Software Factory) you can unload the project (right-click project in Solution Explorer, select “Unload Project”). Once you have done this your code coverage will work and you can open the property window for Code Coverage in your testrunconfig file.

Labels: , ,