There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Code Metrics Workflow Activity Doesn't Work With Windows Server 2003 R2.
We have a build controller running on Windows Server 2003 R2 and the installation directory of the code metrics power tool is located at C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\Metrics.exe not at C:\Program
Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\Metrics.exe. This causes the code metrics workflow activity to not find metrics.exe and fail. To correct this, I added a static method to determine what architecture Windows is
running on and either returns "C:\Program Files" or "C:\Program Files (x86)".