Windows.Forms DLL不允许包含在打包的游戏中

时间:2019-08-07 15:05:14

标签: unity3d dll

我正在使用System.Windows.Forms DLL。 DLL在编辑器中工作正常,但是在构建游戏时出现错误。

我已经进行了一些谷歌搜索,发现我需要将API兼容性级别更改为.Net2。这没有帮助。我什至尝试将其更改为.Net 4.x 是否有替代Windows.forms的功能,但我不想使用UI,因为我想退出游戏并显示消息框。

错误:

ArgumentException: The Assembly System.Deployment is referenced by System.Windows.Forms ('Assets/Plugins/System.Windows.Forms.dll'). But the dll is not allowed to be included or could not be found.

0 个答案:

没有答案