Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute Visual Studio Code Analysis from the command line?

Is it possible? Does it generate a report file?

like image 350
Jader Dias Avatar asked Jan 10 '11 10:01

Jader Dias


1 Answers

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.

like image 54
Nicole Calinoiu Avatar answered Sep 30 '22 14:09

Nicole Calinoiu