.net - OpenCover: Cannot create report for my local copy of CI project -
i have downloaded , installed opencover
via nuget in local copy of ci project. following error trying generate report:
creating report 7377/7903 (assembly: nhibernate, class: nhibernate.mapping.bycode.typeextensions) file 'c:\projects\nhibernate-core\src\nhibernate\mapping\bycode\typeextensions.cs' not exist (any more).
and lot of similar errors. don't have project
folder on c:/ disk. think comes build server settings.
it script executed:
"d:\data\path-to-local-copy-of-project\packages\opencover.4.6.519\tools\opencover.console.exe" -register:user -target:"d:\programs\microsoft visual studio 14.0\common7\ide\mstest.exe" -targetargs:"/noisolation /testcontainer:\"d:\\data\path-to-local-copy-of-project\bin\service.unittests.dll\" /resultsfile:d:\reports\mstest\.trx" -excludebyattribute:"excludefromcodecoverage" -mergebyhash -output:d:\reports\mstest\projectcoveragereport.xml
so created own test project. works fine. generates reports without errors.
does know root cause of problem?
Comments
Post a Comment