Installing FxCop On Windows 8
I was trying to install FxCop on my Windows 8 machine today, but the online documentation asks you to install Windows SDK 7.1, and that errors out. I was finally able to figure out a way to install it.
- Download the SDK ISO for your CPU architecture.
- Open the ISO file in Windows Explorer and navigate to Setup\WinSDKNetFxTools_{CPU_architecture}\cab1.cab.
- Copy the file with name starting with WinSDK_FxCopSetup.exe (In my case it was WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6) to another location and rename it to WinSDK_FxCopSetup.exe.
- Run this executable to install FxCop.