【发布时间】:2013-02-11 16:46:45
【问题描述】:
在我们的输出树中,Test 目录仅包含指向各种构建目录中的 DLL 的符号链接 (Win7 x64)。在实际构建目录中的每个 DLL 旁边都有一个相应的 PDB 文件。但是,当在测试目录中的 DLL 上运行 OpenCover 时,它以“无结果 - 没有检测到与提供的过滤器匹配的程序集这可能是由于缺少匹配过滤器的程序集的 PDB,请查看输出文件并参考到使用指南(Usage.rtf)”
我使用的命令行是:
D:\tools\opencover.4.5\OpenCover.console -target:d:\tools\nunit-2.5.10\nunit-console.exe -targetargs:"d:\temp\Test\Test.Mixed.dll /nologo / noshadow /labels /xml=d:\temp\Test\output\Test.Mixedatp_results.xml" -output:d:\temp\Test\Results\coverage\Test.Mixed.xml -filter:+[*]* -register :用户如果我将适用的 PDB 复制到测试目录中,则覆盖范围确实有效。有没有办法使用符号链接来解决这个问题?
谢谢。
【问题讨论】:
标签: code-coverage symlink pdb opencover