This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Jan 22, 2014 2:49 PM by Michael Wagner  
Michael Wagner Newbie 6 posts since
Nov 16, 2012
Currently Being Moderated

Jan 21, 2014 11:54 PM

Problems using



I am currently running dotCover from commandline in order to integrate it into our CI build environment.

Everything is working fine except that I cannot get the attribute based exclusion to work.


This is my configuratoin XML and I want to exclude

* ExcludeFromCodeCoverage

* Averything autoamtically generated


<?xml version="1.0" encoding="utf-8"?>
        <!--  _ "Module" means project _ -->
        <!--  _ "Module" means project _ -->
        --><!-- namespaces can be filter with a ClassMask with * wildcard --><!--
          <ModuleMask> Module mask </ModuleMask>


What am I doing wrong?



Ekaterina Solovova JetBrains 57 posts since
Jun 26, 2012
Currently Being Moderated
Jan 22, 2014 1:26 PM in response to: Michael Wagner
Re: Problems using

Hello Michael,


I can see two mistakes in your configuration XML:

1. Please specify Filters and AttributeFilters separately:




2. Please specify each attribute mask in a separate AttributeFilterEntry tag:






Please let me know whether it helps.

Best regards.

More Like This

  • Retrieving data ...