Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] MSBuild Refactor #134

Closed
hunterjm opened this issue May 22, 2018 · 2 comments
Closed

[v4] MSBuild Refactor #134

hunterjm opened this issue May 22, 2018 · 2 comments

Comments

@hunterjm
Copy link
Contributor

hunterjm commented May 22, 2018

@danielpalme - I'm getting ready to look into creating a new MSBuild project that targets both core and standard to be able to run ReportGenerator in a build pipeline. This is coming about due to comments on coverlet-coverage/coverlet#105. Before I started, I wanted to get your thoughts. Would you be up for also including a ReportGenerator.MSBuild package that basically moves the build task out of the .NET Standard console app and (hopefully) works for both core and standard?

@danielpalme
Copy link
Owner

I guess that this should be doable. Coverlet also provides a netstandard2.0
msbuild package: https://www.nuget.org/packages/coverlet.msbuild/

Creating another nuget package sounds reasonable.

@danielpalme
Copy link
Owner

danielpalme commented Jul 21, 2018

Starting with this release ReportGenerator now also contains a props file.

When you install the package you can do something like this with MSBuild:

<ReportGenerator ReportFiles="OpenCover.xml" ReportTypes="Html;Badges" TargetDirectory="target\reports\coverage" HistoryDirectory="target\reports\coveragehistory" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants