Re: C# DotCover report format - is it possible to use xml?

312 views
Skip to first unread message

Tamas Vajk

unread,
Jun 3, 2016, 3:47:44 AM6/3/16
to Antal János Monori, SonarQube, antal.jan...@lego.com
Hallo Antal,

Sorry, but for the time being we only support the HTML report.

Regards,
Tamas

Tamas VAJK | SonarSource
Language Team

On 11 May 2016 at 10:06, Antal János Monori <anthon...@gmail.com> wrote:
Hi there, 

Looking through the guide that explains how to Import coverage results into the analysis reports only show that .html extension is allowed for DotCover coverage reports. I am coming from a world, where we always save reports in .xml, then later on transform it into an html report on request. Is there any way to use the .xml report as a valid coverage result, or do I need to explicitly set the output of the dotCover test result to HTML? 

Thoughts?

Link to guide:

Specific property key:
sonar.cs.dotcover.reportsPaths

Cheers,
Antal

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/7444931f-0db8-4e25-bbda-60faaee2915c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nirmal...@gmail.com

unread,
Dec 30, 2016, 5:50:20 AM12/30/16
to SonarQube, anthon...@gmail.com, antal.jan...@lego.com

On Friday, 3 June 2016 13:17:44 UTC+5:30, Tamas Vajk wrote:
Hallo Antal,

Sorry, but for the time being we only support the HTML report.

Can I use dotCover HTML reports with sonar-scanner? I am having SonarQube 5.6 LTS configured for Code Quality.

Is it possible to place "sonar.cs.dotcover.reportsPaths="%CD%\dotCover.html"" parameter in 'sonar-project.properties' file & run 'sonar-scanner'?
 
Regards,
Tamas

Tamas VAJK | SonarSource
Language Team

On 11 May 2016 at 10:06, Antal János Monori <anthon...@gmail.com> wrote:
Hi there, 

Looking through the guide that explains how to Import coverage results into the analysis reports only show that .html extension is allowed for DotCover coverage reports. I am coming from a world, where we always save reports in .xml, then later on transform it into an html report on request. Is there any way to use the .xml report as a valid coverage result, or do I need to explicitly set the output of the dotCover test result to HTML? 

Thoughts?

Link to guide:

Specific property key:
sonar.cs.dotcover.reportsPaths

Cheers,
Antal

--


Thanks,
Nirmal Pathak.

Tamas Vajk

unread,
Jan 4, 2017, 8:25:40 AM1/4/17
to nirmal...@gmail.com, SonarQube, Antal János Monori, antal.jan...@lego.com
Hello Nirmal,

.NET project analysis should use the SonarQube Scanner for MsBuild, and not simply the sonar-scanner.

Tamas

Tamas VAJK | SonarSource
Language Team

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/adca114b-26f5-414c-96a7-68ded3271c31%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages