FxCop编写规则
VS2012 下更方便,所需的DLL在: D:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Static Analysis Tools\FxCop 下
调试工具:现成的1.3.6 版本: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\FXCop\FxCopSetup.exe
参考: http://www.cnblogs.com/zhuqil/archive/2010/12/07/FxCop.html
如果安装最新版本10.0,则要先安装:
Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)
http://www.microsoft.com/en-us/download/details.aspx?id=8442
里面有三个ISO:
x86 ISO File Name: GRMSDK_EN_DVD.iso
x64 ISO File Name: GRMSDKX_EN_DVD.iso
Itanium ISO File Name: GRMSDKIAI_EN_DVD.iso
安装完成后,运行: