Microsoft Visual Studio 2010 Professional does not come with a code analysis tool. Microsoft tool FxCop is available for download for free, but its integration with Visual Studio is nonexistent (save the external tool, where you are limited to looking at the output). This Visual Studio extension integrates FxCop into Visual Studio more nicely.
Operation
When tool is invoked, the following happens:
All changes made to source files are saved.
Project is built.
FxCopCmd tool is run, its output is parsed and error list is filled.
Configuration
Tool can be configured through Tools --> Options --> FxCop Runner.
FxCopCmd.exe file location: Necessary. Specifies the location of the tool the extension is running.
Rules Definitions location: Optional. Specifies a location for FxCop Rules files. If left empty, default location (<FxCopCmd.exe file location>\Rules) is used.
Other command line arguments: Optional. Anything else you would like to tell the tool (additional libraries locations…).
Change Log
1.1
Added navigation to MSDN documentation from error list.