Ambiguous Call #438
Unanswered
rodrigo-machado-atg
asked this question in
Q&A
Replies: 1 comment
-
Your code should probably look like this: new Palmmedia.ReportGenerator.Core.Generator().GenerateReport(
new ReportConfiguration(
new[] { "./TestReports/coverage.xml" },
"./TestReports/ReportGeneratorOutput",
new string[0],
"./TestReports/ReportsHistory",
new string[0],
new string[0],
new string[0],
new string[0],
new string[0],
null,
null)); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm getting an ambiguous call error when using ReportGenerator v. 4.8.12.
My call is as follow:
...
var reportGeneratorSettings = new ReportGeneratorSettings()
{
HistoryDirectory = new DirectoryPath("./TestReports/ReportsHistory")
};
...
And the error message is:
error CS0121: The call is ambiguous between the following methods or properties: 'ReportGenerator(GlobPattern, DirectoryPath, ReportGeneratorSettings)' and 'ReportGenerator(FilePath, DirectoryPath, ReportGeneratorSettings)'
There are two methods with the same or similar signature and ReportGenerator doesn't know how to discerne between them.
Am i doing something wrong?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions