Support for .NET Core
See original GitHub issueThis is not really an issue, just wonder if you considered this?
Someone started the question on Reddit .NET Code coverage tools for Linux/Ubuntu?
At the moment there is not a single coverage tool for dotnet core https://github.com/dotnet/corefx/issues/17107 But seems OpenCover is on track to have dotnet core support soon https://github.com/OpenCover/opencover/issues/703
After that I think it would be nice to be able to generate the report with ReportGenerator 😃
Without any changes to ReportGenerator I was able to ran it from Visual Studio Community 2017 Mac using Mono.
Not sure how much work it is to convert a Mono to dotnet project.
At the moment learned that you can deploy dotnet core by adding the RuntimeIdentifiers
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
**<RuntimeIdentifiers>osx.10.12-x64</RuntimeIdentifiers>**
</PropertyGroup>
</Project>
Publish it with
$ dotnet publish -c release -r osx.10.12-x64
Then you get a console application runnable from bash
$ /Users/andre/Projects/SampleCoreConsole/bin/Release/netcoreapp2.0/osx.10.12-x64/publish/SampleCoreConsole

Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:35 (14 by maintainers)
I released a first version which supports .NET Core: https://www.nuget.org/packages/ReportGenerator/4.0.0-alpha2
Usage is described here: https://github.com/danielpalme/ReportGenerator/tree/v4#usage
Let me know if this works for you or if you have any issues.
As you said, you can execute ReportGenerator with Mono This is possible for >2 years now, after dropping the dependency to log4net. See #26
But a dotnet core version of ReportGenerator totally makes sense. I will see what I can do about that. But it will take some time to get finished.