Thursday, January 15, 2009

Happy new year!

Here's a fun one. I was trying to turn Code Coverage on for a large solution today, and when I opened up LocalTestRun.testrunconfig, all was well until I tried to change to the Code Coverage section. The window would disappear and throw me back to the IDE every time. This was on VS2008 Team Suite with SP1 with the GDR installed.

Turns out it's a Data Dude GDR issue. I was able to temporarily remove my GDR database project from the solution, and the problem went away. Made my .testrunconfig file changes, undid the checkout on the .sln file to revert the database project back in, and checked in the updated LocalTestRun.testrunconfig file. Good to go! I can now see how dismal our current code coverage is.

I hope this saves someone a headache.

1 comments:

TFSDude 2/03/2010 09:49:00 AM  

There is a hotfix for this: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16979&wa=wsignin1.0