How can I run FxCop on an entire solution in Visual Studio 2008
-
21-08-2019 - |
Question
There must be simple way, I do not want to run Code Analysis separately on each project.
Solution
Sorry for the dumb response before..Here's what you REALLY do :)
Set each project to run code analysis on build:
- right-click the project,
- go to the Code Analysis tab
- click "Enable Code Analysis on Build"
When you build the solution, it will run CA on each project
OTHER TIPS
I wrote a custom MsBuild task that does this.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow