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
ReportGenerator task does not work on the project for .NET Framework . #494
Comments
You are right, this file is missing in the packages. I plan to publish v5.1 within the next days, which will fix the problem. |
I just released v5.1. Does this work for you? |
Sorry, later. ReportGenerator.MSBuild.dll exists in the %USERPROFILE%.nuget\packages\reportgenerator\5.1.1\tools\net47 folder. when call ReportGenerator Task of version:5.1.1, below error occurs. Could not load file or assembly 'Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
at Palmmedia.ReportGenerator.Core.Generator.GetConfiguration()
at Palmmedia.ReportGenerator.Core.Generator.GenerateReport(IReportConfiguration reportConfiguration) in /_/src/ReportGenerator.Core/Generator.cs:line 44 ReportGenerator Task of version:4.8.13 works fine. |
It took some time, but I figured it out. |
I confirmed to work 5.1.2 on my environment. |
Describe the bug
'....\tools\net47\ReportGenerator.MSBuild.dll' is set as 'ReportGeneratorAssembly' in a build\netstandard2.0\ReportGenerator.props.
However, above file does not exist in tools\net47 folder of the nupkg of v5.0.4.
As result, when target is .NET Framework. ReportGenerator command in the msbuild file does not wok.
To Reproduce
The text was updated successfully, but these errors were encountered: