Closed mrfyda closed 4 years ago
Hi. I have the same error. I am sending a report made by dotCover. You can see the build log on CircleCI at the link https://circleci.com/gh/kreghek/Zilon_Roguelike/2850
Hi @kreghek ,
There's already a fix for the OverflowException. To report a detailed dotcover file use --ReportType=DetailedXML
instead of --ReportType=XML
, because it's mandatory for the tool to send the file paths to codacy, otherwise it will send an empty report file.
The tool will also send a warning if it detects empty File elements on the XML.
Thanks, Luis
--ReportType = DetailedXML
and the new version 1.0.3 helped. Thank!
Same error still we getting while upload code coverage report.
Hey @ajaymgaikwad ,
What version of codacy csharp coverage reporter you are using?
Thanks, Luis
Hi @ljmf00 ,
We are using Resharper dotCover to generate code coverage, find attached Resharper version details for your reference.
Hi @ajaymgaikwad ,
Thanks for the additional information. If you are using dotcover
you should specify -e dotcover
instead of -e opencover
.
Also, I was asking about codacy tool. If you are generating the report with --ReportType=DetailedXML
you shouldn't have problems, because codacy need to know the file indices.
To avoid OverflowException, make sure you are using the latest version of the tool, its fixed with #6 PR.
Thanks, Luis
User getting OverflowException when uploading the report:
(related to Zendesk ticket #8221)
gz#8221