I recently installed Visual Sudio 2015 and was able to analyze the code for the solution using the following command:
msbuild.exe MySolution.sln /p:RunCodeAnalysis=true
where /p:RunCodeAnalysis=true performs code analysis. In fact, it calls FxCopCmd.exe located in
C:\Program Files(x86)\Microsoft Visual Studio 14.0\Team Tools\Static AnalysisTools\FxCop\FxCopCmd.exe
The code analysis was intended to replace FxCop, but in fact Code Analysis is executed by FxCopCmd.exe itself
I might have missed something, but what is the difference between VS Code Analysis and FxCop?
source share