Search code examples
visual-studio-2008msbuildcode-metrics

How to automate Visual Studio's Code Metrics feature


I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition?

I may end up using SourceMonitor, but I would like to know if there is a way to use the VS code metrics engine from the command line.


Solution

  • Finally, Microsoft have provided us with a way to automate the Visual Studio code metrics feature using a new "power tool".