繁体   English   中英

UWP 无法解析程序集 System.Windows.Forms

[英]UWP Cannot resolve assembly System.Windows.Forms

我正在尝试添加第三方库的 UWP 项目。 我添加了库,在我清理并重建解决方案之前,一切似乎都运行良好? 现在我得到:

Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: System.Windows.Forms ...  Project.csproj

Could not copy the file "obj\x86\Debug\FavoriteControl\Favorite.xbf" because it was not found.      

我绝对知道错误来自图书馆。 该库是通过 Reference 添加的,并且在项目中添加了一些 header。

目前是不可能的。 NET Core 仍在逐步发展,这就是它不能在 .NET Core 和 .NET 框架中工作的原因。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM