How to register a global hotkey for your application in C#

How to register a global hotkey for your application in C#

Register a hotkey for your application that can be triggered even if your form is minimized and does not have focus. More »

Visual Studio 2013

Visual Studio 2013

Visual Studio 2013 is now available. Make sure to upgrade to the latest version of Visual Studio. More »

How to download a file in C# (progressbar and download speed)

How to download a file in C# (progressbar and download speed)

Learn how to download files in C# while displaying the percentage and the download speed. More »

UDP hole punching implementation in C#

UDP hole punching implementation in C#

Learn how to implement UDP hole punching so you can make your clients life a lot easier by not forcing them to open ports on their end. More »

 

Download FxCop 10

FxCop is a tool that performs static code analysis of .NET code. It provides hundreds of rules that perform various types of analysis to ensure that your code follows Microsoft’s .NET Framework Design Guidelines.

Sadly the latest versions of FxCop are bundled within Microsoft Windows SDK. Since Microsoft doesn’t allow for their software to be distributed I cannot provide you with a standalone installer of FxCop myself, but at least I can take you through the steps to create one yourself.

For the next steps you will require a program that can open and extract files from both .cab files as well as .iso files. For this example I will be using WinRAR.

First you will need to download Microsoft’s Windows SDK which FxCop is bundled into. Choose a link below based on the CPU architecture you want.

After the .iso file is downloaded open the file with WinRAR. You should be able to see all the contents of the file. Navigate to the Setup folder.
Creating a standalone installer for FxCop step 1.

Then to the WinSDKNetFxTools folder, which should contain two files. We are interested in the cab1.cab file.
Creating a standalone installer for FxCop step 2.

Open the cab1.cab file and scroll to the end of it.
Creating a standalone installer for FxCop step 3.

You should see a file with the name WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6. That is the actual installer of FxCop 10.0 and therefore the file we actually need. Make sure to extract that file anywhere you want, then simply rename the file so the extension will be .exe
Creating a standalone installer for FxCop step 4.

And that’s it. You can run the file you extracted to install FxCop, so make sure to save the installation file for later use in case you will need it again.
Creating a standalone installer for FxCop step 5.

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *