UWP无法解决系统.Windows.Forms集合。

问题描述 投票:0回答:1

我正在做一个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添加的,而且在项目里面添加了一些头。

c# uwp windows-10-universal
1个回答
0
投票

目前是不可能的。.NET Core还在逐步发展,这就是它在.NET Core中不能工作,在.NET Framework中也不能工作的原因。

© www.soinside.com 2019 - 2024. All rights reserved.