FxCop analyzes programming elements in managed assemblies, called targets, using rules that when violated, return informational messages about the targets. A report containing these messages appears in the user interface, or in the output window when using the command-line tool. Messages identify any relevant programming and design issues and, when possible, supply information on how to fix the target. A message is associated with a specific rule and a specific target and can be excluded from further analysis. A default set of rules is provided and additional custom rules can be created using the FxCop SDK. Projects are used to specify the set of assemblies to be analyzed, the rules used to analyze the assemblies, the excluded messages, and settings to customize the saved project or report file.
In This Section
Provides step by step procedures for accomplishing basic FxCop tasks.
Describes the minimum command-line options used to run FxCopCmd.
Outlines the general workflow for using FxCop and FxCopCmd as part of an integrated software development cycle.
© 2002 - 2004 Microsoft Corporation. All rights reserved.