【发布时间】:2022-11-17 06:23:29
【问题描述】:
我正在尝试使用 .NET6 在 blazor 服务器项目中创建 rdlc 报告,然后是 this blog guide,它的布局非常完美,但呈现报告时我遇到了这个错误。
System.Security.Policy.Evidence.AddHostEvidence:类型参数“System.Security.Policy.Zone”违反了类型参数“T”的约束。
执行
LocalReport report = new LocalReport(pathToRdlc);时出现此错误我有搜索但没有任何帮助。几天前错误是reported on github,但还没有解决方案。
这是github 上使用上述相同指南的示例项目。
【问题讨论】:
标签: c# asp.net-core .net-core blazor rdlc