有没有人成功地使用 dotCover(最好是 TeamCity)运行覆盖率报告,同时在应用程序中定位发布模式?这是我收到的错误消息(此配置在调试模式下工作):
Generate dotCover report (6s)
[09:53:44][Generate dotCover report] Started dotCover: E:\BuildAgent3\tools\dotCover\dotCover.exe report F:\TCAgents\ag3temp\buildTmp\dotcover3521342814066873775.xml
[09:53:44]
[Generate dotCover report] Output: JetBrains dotCover Console Runner v2.0.425.62. Copyright (c) 2009-2012 JetBrains s.r.o. All rights reserved.
[JetBrains dotCover] Report generation started [8/29/2012 9:53:43 AM]
[JetBrains dotCover] Report generation finished [8/29/2012 9:53:43 AM]
[Generate dotCover report] dotCover exited with code: 0
Generate dotCover HTML report
[Generate dotCover HTML report] No source files were found under the build checkout directory F:\TCAgents\ag3work\724608d32a4f6354. No source files will be included in dotCover report as source code of classes.
我们希望生成一组已编译的工件以通过交付管道(包括部署)。我们在使用 NCover 时没有遇到这个问题——它能够在我们的发布版本中产生覆盖。
注意:.pdb 文件是在发布模式下生成的