How to execute Visual Studio Code Analysis from the command line?
Is it 开发者_高级运维possible? Does it generate a report file?
The FxCopCmd.exe command line tool can be used to run code analysis (which is the same thing as FxCop analysis) from the command line. In a VS 2010 installation that includes code analysis, you would typically find FxCopCmd.exe in the following folder: \Team Tools\Static Analysis Tools\FxCop.
FxCopCmd.exe can emit a report file. For details, see its command line options.
精彩评论