Exclude VS generated code from count ? (WCF proxies)

In VisualStudio 2010, if you add a WCF service reference to a webservice, then the Microsoft generated code for the WCF proxies gets included in the code coverage count, which drags the percentage way down.

Is there a way for dotCover to exclude such VisualStudio tool-generated code ?

1 comment
Comment actions Permalink

Hello Andrew,
You can use coverage filters to filter out unnecessary code from coverage results.
Here is a tutorial:


Please sign in to leave a comment.