Exclude interfaces from report

Exclude interfaces from report

Hi

Is there an easy way to exclude interfaces from the reports (both in v2.1.2 and 3.0)?

As there is not executable code in them, I feel they are redundant clobber in the report.

/Bjørnar


RE: Exclude interfaces from report

You can use assembly exclusions if you know the assembly name

Are you using the command line or gui?

The command line option is //eas.

From the gui, you want to put the assembly name in the excluded assemblies section of the project options.

You can use the //et option to exclude specific namspaces and classes.

Hope that helps.

Joe Feser


RE: Exclude interfaces from report

I only use MSBuild, so I suppose I use command line.

I have used exclude for namespaces, but adding a class exclude to exclude a single interface does not seem to work, unless I have to provide the fully qualified name. The interfaces have not been placed in a specific assembly, but are scattered around in the assembly, so assembly exclude would not work.


RE: Exclude interfaces from report

yes, for class exclusions you have to provide the fully qualified name