I'm having trouble getting Code Analysis to run on the build server. My goal is that on checkin the build server will build and run code analysis automatically. For some rules I would like the build to fail. I know how to use the team explorer to set which rules cause a fail.
I don't want the developer to have to run code analysis to checkin. I want the build server to take care of all of it.
The build succeeds, however, code analysis is not run.
I used this to set it up, however when I do a search on the log I don't find anything to do with code analysis. When I run code analysis locally there are hundreds of warnings, but the build shows like 32 warnings.
Any ideas? Do I need to install anything specific on the build server to enable/allow code analysis? The build server does not have visual studio, it does not have the team explorer. It serves a dual purpose as our test web server and build server and I want to install only the bare essentials.