I am trying to integrate NCover 2 into TeamCity 5.0.1, and since I have some files in the project that are out of my control, I d like to exclude those from the NCover statistics.
In the TeamCity build runner setup, I have an option for "Additional NCover arguments", and by looking at the page that describes NCover parameters, I added the following to this box:
//exclude-types "Markdown;Settings;Resources"
When running the teamcity buildstep, I get this error in my log, and the build fails:
NCover has determined that one of the paths in the
//h or //w commands ends with a backslash ().
Please remove or escape the backslash and run NCover again.
If I remove this setting, the error goes away.
Has anyone configured TeamCity and NCover 2 like this and can spot my mistake?