I just wrote a quick MSBuild wrapper around the great Gendarme tool. It allows running Gendarme as part of an MSBuild task/project, and supports all the options that the command-line runner supports.
It also integrates with Visual Studio:
The binary can be downloaded here: http://github.com/unintelligible/GendarmeMsBuild/downloads
The source code is available here: http://github.com/unintelligible/GendarmeMsBuild