Usage

Using the tool is very easy :

spcop.exe /file:file1.wsp /rules:* /console /html /xml

The last arguments are optional and reflect the desired output.
More arguments and control is comming soon.

Extending

To extend the tool you need to create a custom assembly that will contain rules.
If you are familliar with the techniques applied to FxCop rules this wont be to difficult.

You need to build a Class Library Project, that include a xxxx.Rules.xml file as embeded resource.
That file will define all your rules and their mapping to classes inheriting from the RuleBase class.

All rules are instanciated once before analysis and those instances are used to analyse all the packages.

RoadMap

Next Releases

Feature Requests

Last edited Feb 16, 2011 at 5:52 PM by sebdg, version 5

Comments

No comments yet.