I found the Microsoft instructions on how to setup the fxCop, I installed Windows SDK for Windows 7 but I cannot find the folder with FXCop.
Here's a fragment from Microsoft's instructions:
FxCop Installation Instructions
By default, the Windows 10 SDK is installed into the "C:\Program Files (x86)\Windows Kits\10" folder.
I also ran into the same issue using the 64-bit version. I worked around the issue by extracting the FxCop installer from within the SDK ISO, as shown here: http://ruthlesslyhelpful.net/2011/06/09/liberate-fxcop-10-0/
Just in case that link is not available, the steps include:
Download the Windows SDK ISO for Windows 7 and .NET 4.0
Open the ISO using 7-Zip and navigate to Microsoft\SDK\Setup\WinSDKNetFxTools\cab1.cab
Within cab1.cab, look for a file that starts with WinSDK_FxCopSetup.exe, and extract it.
Rename the extracted file to an .exe extension, and you're done.
This appears to be an omission from the 64-bit version of the 7.1 SDK installer. It was missing for me as well after I ran the install, but then I installed the 32-bit version of the SDK on a VM that I have and then copied the FxCopSetup.exe file from the bin directory of that image to the 64-bit machine and ran it, and so far FxCop appears to be working fine on the 64-bit box.
Where is FxCop in 64bit version of Windows SDK?
Since FxCop 10.0 is distributed as part of Windows 7 SDK, you have to do some download and extractions to install it on servers which are not running Windows 7. You can follow instructions to extract the setup file.
If you are in a hurry, you can download the standalone installer on Codeplex.
There has not been any modification to the original binary file. You can check the file size, version # and the signature of the assembly to verify its authenticity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With