UNITY3D中调用winform发布出现问题
Unity3d 调用了Winform后, 项目打包时出现,The dll is not allowed to be included or could not be found” while building. 这个问题很好办! 1:删除掉工程目录下的System.Windows.Forms.dll等文件 2:切换palayer settings 下的 Api Compatibility Level: .NET Standard 2.0 ->.NET 4.x 3:在Asset 目录下添加文件 mcs.rsp文件,只要建立一个文本文件,输入内容 -r:System.Windows.Forms.dll , 然后改名为mcs.rsp 4:重启unity3d, 再打包看看效果吧。
- 上一篇:matlab 读取串口传感器数据 2024/11/4
- 下一篇:UNITY3D C#开发ANDROID APP调用串口 2024/8/11
