In our product, there are around 400 projects, so in VS 2012, if I want to make a build then it generates code analysis for all 400 projects and I can't manually disable code analysis for each & every project. So I am looking for a mechanism which disables code analysis for entire solution (all projects) rather then applying those settings to individual projects.
You can use a little trick to disable the static code analysis for a whole Visual Studio instance as described here. In short:
Developer Command Prompt for VS2012
set DevDivCodeAnalysisRunType=Disabled
devenv
to start Visual StudioSame solution works for Visual Studio 2015 via Developer Command Prompt for VS2015
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With