This project has moved. For the latest updates, please go here.

Unable to generate a report

Jun 8, 2012 at 10:24 AM

I got an error message on attempting to generate a report from a OpenCover xml file. 

This is the command that I ran

ReportGenerator.exe -reporttypes:Html -sourcedirs:"C:\Projects\TestCoverageDemoLibrary" -targetdir:C:\Utils\ReportGenerator_1.4.1.0\bin -reports:coverage.xml

Error message

The report file 'coverage.xml' does not exist.

The downloaded zip file does not have any xml files and I am not sure what I am missing. 

Coordinator
Jun 8, 2012 at 10:32 AM
Edited Jun 8, 2012 at 10:32 AM

Hi ashishnarmen,

Instead of "coverage.xml" you have to specify the path to the XML file that has been generated by OpenCover.

This path can either be a full path or a relative path (relative to your current working directory).

The download does not contain any XML files, since you probably want to generate a report of your custom OpenCover report.

Best regards,

Daniel

Jun 8, 2012 at 10:42 AM

Oh. Got it working now. Thanks a lot.