Configuring for FxCop analysis

Configuring Visual Lint for use with FxCop is quite straightforward.

 

Step 1: Run the Configuration Wizard

The Configuration Wizard can be invoked from the Configuration Wizard command on the Visual Lint toolbar. When run, it will guide you through the process of configuring Visual Lint for use with supported analysis tools:

graphic

 

Step 2: Select the analysis tool you wish to configure

The Analysis Tools page allows you to select which analysis tool to configure:

graphic

 

Step 3: Select your FxCop installation folder

The Select Analysis Tool Installation Folder page will guide you through downloading FxCop (if required) and locate the FxCop installation folder:

graphic

 

Step 4: Save the changes

Once your FxCop installation has been located, proceeding through the Completion page will save the changes, whereupon FxCop will become available for analysis purposes.

graphic

 

It should be noted that the Configuration Wizard is not the only way to configure Visual Lint, as it is also possible to configure it manually via the Visual Lint Options command on the toolbar or (where available) the "Tools" menu.

 

Step 5 (optional): Customise the analysis configuration

If required, you can customise the FxCop analysis configuration via the Edit Analysis Tool Configuration command.

If you need to inject specific FxCop options into the generated analysis command line you can configure Visual Lint to do so via the Command Line page in the Options Dialog.



Copyright © 2004 - 2015 by Riverblade Ltd. All rights reserved.