我正在使用 TeamCity 8.0.4 版。
我有一个使用 NUnit 运行器和 PartCover 作为覆盖工具的构建步骤。
我已按照此处列出的步骤(http://www.jeremyskinner.co.uk/2010/07/23/using-teamcity-with-partcover-4/)。也就是说,我复制了 PartCover.dll 并对其进行了适当的重命名,并使用了博客中链接的 XSLT。
“包括程序集”字段只有:
[*]*
“排除程序集”字段只有:
[*.Tests]*
正确执行测试后,我的构建日志收到以下消息:
No executable code was detected.
The issue could be caused by one of the following:
- Include / exclude patterns are incorrect
- Assemblies are compiled without debugging information
- .pdb files are not available
- Visual Studio code coverage is enabled for MSTest
- .testrunconfig is used for MSTest and Visual Studio code coverage is not disabled (CodeCoverage section with enable="true" is present)
有谁知道我做错了什么?