FxCop build step
In one of my TeamCity build configurations I added a code analysis build step (using the FxCop build runner).
For the FxCop installation root I referred to the FxCop tool in my Visual Studio installation, as I couldn't find FxCopCmd.exe in my TeamCity installation.
(C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop)
Is this the correct way to configure FxCop?
Please sign in to leave a comment.
Hi
TeamCity does not bundle FxCop binaries, so you need to specify a location.
Full path is fine.
Alternatively you can use %system.FxCopRoot% property - in this case the path is be resolved automatically.
It may be helpful if you have multiple build agents and the path is different on each machine.
Michael