我已经使用 dotNetCore 构建了一个 Telerik Web Report Designer web api,它有一个问题“ReportServiceConfiguration”不包含“ReportingEngineConfiguration”的定义我也安装了所有 dll 库。它出现在 program.cs 文件中。
builder.Services.AddSingleton<IReportServiceConfiguration>(sp => new ReportServiceConfiguration
{
ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
HostAppId = "newcumstomreportAPI",
Storage = new FileStorage(),
ReportSourceResolver = new UriReportSourceResolver(
Path.Combine(Environment.CurrentDirectory, "Reports"))
});
这可能是什么问题?我该怎么做才能解决这个问题?