FXCop 10 was Shipped with Windows 7.1 SDK
For .NET developers who want the rigor of code analysis without the expense of Visual Studio Premium, FXCop is the tool for choice. But with FXCop 1.36 pulled from Microsoft Downloads without warning, many developers were left wondering what happened. Fortunately this tool is still available if you know where to look.
To start, developers need to install the .NET tools from Microsoft Windows SDK for Windows 7 and .NET Framework 4. Don’t bother looking for FXCop in the installer, you won’t find it mentioned there or in any of the usual pre-installation documentation. But a careful review of the post-install release notes will reveal this passage:
6.3.6 FXCop Setup is Now Located Under the Window SDK “\Bin” Directory.
The installer for FXCop, fxcopsetup.exe, is now located in [Program Files]\Microsoft SDKs\Windows\v7.1\Bin\FXCop.
Running that installer will setup FXCop 10.0. Like previous editions, this version is missing many of the rules found in Visual Studio. Also there are some changes to how rules are grouped such as splitting up the Security group into “Security” and “Security Transparency”. Fortunately FXCop uses the same numbering scheme for rules, so if you can’t find a rule by name try looking for its CAxxxx ID.
|Security||Security & Security Transparency|
This version of FXCop supports both the CLR 2.0 and 4.0 runtimes.
Minimum install set for FxCop?
Shane Hastie Aug 30, 2014
Roy Rapoport Aug 28, 2014