Extra params for FxCop?

In my Fb4 script, I use the FxCop action. I would like to add some extra parameters. In the forum topic “msbuild options” I saw that the msbuild action has this possibility via the Action Inspector.
Does the FxCop action has this option?

The parameters I would like to add are to exclude specific rules: I found out this must be possible by using /rid:-TheID on “http://msbuildtasks.tigris.org/issues/show_bug.cgi?id=19

Thanks, Jaap Faber

Hi Jaap,

Sorry for not replying earlier - not sure how we missed this message.

Anyway, the FxCop action doesn’t have those extra properties to add command line parameters. Will add this to the todo list (and to add support for the /rid parameter too).

cheers,
tate.

Thanks,

FYI: In Visual studio I have the following on the (FxCop 1.35) commandline: /rid:-Microsoft.Globalization#CA1303 /rid:-Microsoft.Naming#CA1704

I could not find a shorter way to add the rules to exclude. But if there is one, I would love to know.

Jaap.

Hi Jaap - this build adds the /rid parameters and a couple of others (as well as a “extra parameters” property).

https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_150.exe