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. 回答1: Finally, Microsoft have provided us with a way to automate the Visual Studio code metrics feature using a new "power tool". 回答2: This is how my company has automated FxCop