PartCover producing empty xml when upgrading applications to .Net 4.0

纵然是瞬间 提交于 2019-12-24 01:26:17

问题


We have been running PartCover on applications, and they were producing xml reports just fine. However, we upgraded all our applications from .Net 3.5 to .Net 4.0, and now, PartCover just produces an empty XML file. I tried upgrading to latest NUnit and latest PartCover, but that did not help. Is there anything else I can do to try to resolve this issue? We've been using code coverage frequently as part of our process, and need to resolve.

This is the command:

"C:\Program Files (x86)\PartCover\PartCover .NET 4.0\PartCover.exe" --target "C:\Program Files (x86)\NUnit 2.5.10\bin\net-2.0\nunit-console-x86.exe" --target-args "{dll of app to coverr} /xml=results1.xml /noshadow" --settings {xml file for settings} --output CoverageReport.xml

来源:https://stackoverflow.com/questions/6944633/partcover-producing-empty-xml-when-upgrading-applications-to-net-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!