【发布时间】:2020-03-03 17:51:20
【问题描述】:
我有一个 WPF 项目。对于我正在使用的报告服务
Microsoft.ReportingServices.ReportViewerControl.WebForms &
Microsoft.ReportingServices.ReportViewerControl.WinForms.
在 .Net framework 4.7.2 上运行时一切正常。
现在我将它移植到 .Net Core 3.0,现在我遇到了这个错误。
错误 MC1000 未知构建错误,“在程序集 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\ 中找不到类型 'System.Web.UI.TagPrefixAttribute' netcoreapp3.1\System.Web.dll'。'我的商店 WPF C:\Program Files\dotnet\sdk\3.1.101\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 225
我该如何解决这个问题?
【问题讨论】:
-
核心库不支持所有的网络库类/方法。请参阅:tomasherceg.com/blog/post/…
标签: c# wpf reporting-services .net-core