Add-in FxCop Rules - v1.0 beta

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 5934
Released: Jul 3, 2008
Updated: Jul 8, 2008 by mSid
Dev status: -not yet defined by owner-

Recommended Download

Source Code
source code, 62K, uploaded Jul 3, 2008 - 5934 downloads

Release Notes

This is the first release of the Add-in FxCop Rules

To build the solution:
To run the rules against your contract and view assemblies:
  • Install FxCop v1.35:
  • Launch FxCop from the Start Menu. If it prompts you to update to FxCop 1.36 beta, click "No". This is because we have built and tested the rules against FxCop 1.35.
  • In FxCop menu, click Project/Add Targets. Select the view or contract assembly to run checks against.
  • In FxCop menu, click Project/Add Rules. Navigate to the AddInFxCopRules\bin folder and select either Microsoft.AddIn.FxCopRules.ContractRules.dll or Microsoft.AddIn.FxCopRules.ViewRules.dll, depending on which assembly you want to scan. If you want to run only the AddIn rules, you can uncheck the built-in FxCop rules in the "Rules" tab.
  • Click Analyze, and FxCop will scan the assemblies and list any rule violations detected.

The rules can also be run from command-line using fxcopcmd.exe in the FxCop folder. Thus they can be integrated into build processes and run automatically.

Let us know how this works out! We would love to hear your feedback.

Reviews for this release

by orin_chen on Feb 19, 2009 at 6:30 AM