how to configure TeamCity/dotCover to only include solution dlls?

I have a TeamCity build with two build steps. one is building a VisualStudio Solution (sln) and the second run MSTest and dotCover to execute unit tests and check code coverage. Right now the code coverage is including all dependent dlls, which totally skews the coverage percentage since my unit tests do not test any dependent methods.

Is there an easy wildcard filter i can add to the dotCover setup so that it only includes dlls that were built from the VisualStudio solution (no dependent dlls) or would I have to explicitly give the names of the dlls i want to include?


1 comment
Comment actions Permalink

Hi Kirk

this filter cannot automatically reference a solution, but if assemblies in your solution follow the same naming convention, you can filter them like



Please sign in to leave a comment.