Disable rules for MSBuild task

Feb 6, 2012 at 1:19 PM

Hi,

is it possible (and how) to disable a list of rules for the MSBuild task of FxCop Integrator? (I'm using Version 2.0.0 RTW).

Thanks

Andreas

Coordinator
Feb 14, 2012 at 12:40 AM

Hi AndreasN,

Thank you for using FxCop Integrator.

The MSBuild task of FxCop Integrator uses FxCop Integrator configuration files ($(SolutionDir)\CodeAnalysisConfiguration.xml and $(ProjectDir)\CodeAnalysisConfiguration.xml), so you can disable rules with Ruleset if you edit the FxCop Integrator configuration your project to use Ruleset.

For information on how to use Ruleset, please refer to "How to customize FxCopCmd behavior", "How to use custom ruleset" and "How to use a single ruleset file for all projects in a solution".