FxCopCmd is the command-line companion to the FxCop application. Like the application, FxCopCmd analyzes managed code assemblies and reports information about the assemblies, such as possible design, localization, performance, and security improvements. FxCopCmd can be used as a stand-alone tool, added to automated build processes, or integrated with Microsoft Visual Studio® .NET as an external tool.
If you are starting a new software development effort, or are adding FxCop to an existing development effort, you will benefit most by first creating a project to store settings for the analysis using the FxCop application (FxCopCmd does not support creating or configuring projects). An FxCop project specifies the set of assemblies to be analyzed, the rules used to analyze the assemblies, and the most recent analysis results reported by FxCop. While individual types and rules can be directly specified with the FxCopCmd's command-line options, an FxCop project provides easier and more finely grained control. Once a project has been created and saved, you can run the analysis it describes using the application or the command–line tool.
In This Section
Describes the command-line options supported by FxCopCmd.
Discusses the analysis reports sent to the console window or an XML file.
Provides information on the errors that can occur while loading or analyzing targets.
Explains how to add FxCopCmd to a build script.
Discusses integrating FxCopCmd with Visual Studio.
© 2002 - 2004 Microsoft Corporation. All rights reserved.