It comes with the Windows 7 and .NET framework 4 SDK. http://www.microsoft.com/en-us/download/details.aspx?id=6544
Then install the FxCopIntegrator addin
Post-build event command line: “C:\Program Files (x86)\Microsoft FxCop 10.0\FxCopCmd.exe” /file:”$(TargetPath)” /console /searchgac
"$(ProgramFiles)\Microsoft FxCop 1.36\FxCopCmd.exe" /c /p:"$(ProjectDir)\FxCop$(ConfigurationName).FxCop" /consolexsl:"$(ProgramFiles)\Microsoft FxCop 1.36\Xml\VSConsoleOutput.xsl"
references:
http://trycatch22.com/blog/installing-fxcop-for-visual-studio-2010/
http://ruthlesslyhelpful.net/2011/06/09/liberate-fxcop-10-0/
http://www.iprogrammable.com/2011/06/15/visual-studio-2010-professional-and-hudson-jenkins-ci-and-fxcop/