Partcover: Exclude multiple namespaces via commandline

242 Views Asked by At

I'm using Partcover to generate code coverage statistic and want to exclude multiple namespaces using commandline parameter --exclude.

I can't manage to specify multiple namespaces to be excluded, could anyone suggest how to do it? Obviously single namespace mask working well.

1

There are 1 best solutions below

2
Shaun Wilde On BEST ANSWER

You should just be able to add a --exclude for each assembly/namespace combination

i.e. --exclude [Assembly*]Namespace1.* --exclude [Assembly*]Namespace2.*