Troubleshooting CodeMetrics

Aug 3, 2012 at 8:26 PM

I've followed the instructions to integrate the CodeMetrics activity into our TFS 2010 build, however, when I run the build, in the log I just get a single error with a number next to it.  It looks something like this:

CodeMetrics
 (!) 521

Additionally I get a Metrics.xml file with a zero length in the drop location.  Other than the obvious question of ...what did I do wrong?...I'm also very curious where I go to troubleshoot this.  In the old MSBuild-based builds there was always a detailed log you could turn on to really dive into things, but I'm not sure where to begin looking in this Workflow based world.

Thanks.

Aug 7, 2012 at 4:11 PM

Never mind, sorry for the newbie question.  I'm new to the Workflow-based build system and I found where you can turn on diagnostic logging when you queue a build.  I found out what was wrong.  In my case I just needed to allow the CodeMetrics activity to search the GAC