Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is FxCop in 64bit version of Windows SDK?

Tags:

.net

windows

sdk

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

  1. Download the Microsoft Windows SDK for Windows 7 and .NET Framework 4 version 7.1.
  2. Run %ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\FXCop\FxCopSetup.exe to install FxCop.
like image 429
Roman Kagan Avatar asked Aug 22 '11 22:08

Roman Kagan


People also ask

Where is Microsoft SDK folder?

By default, the Windows 10 SDK is installed into the "C:\Program Files (x86)\Windows Kits\10" folder.


3 Answers

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:

  1. Download the Windows SDK ISO for Windows 7 and .NET 4.0

  2. Open the ISO using 7-Zip and navigate to Microsoft\SDK\Setup\WinSDKNetFxTools\cab1.cab

  3. Within cab1.cab, look for a file that starts with WinSDK_FxCopSetup.exe, and extract it.

  4. Rename the extracted file to an .exe extension, and you're done.

like image 192
ARP Avatar answered Sep 29 '22 17:09

ARP


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.

like image 32
500 - Internal Server Error Avatar answered Sep 25 '22 17:09

500 - Internal Server Error


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.

like image 40
Believe2014 Avatar answered Sep 27 '22 17:09

Believe2014