以下是报错信息:
ArgumentException: The Assembly System.Configuration is referenced by System.Data (‘Assets/Plugins/System.Data.dll’). But the dll is not allowed to be included or could not be found.
我的解决方式很简单,打开Build Settings–>Player Settings面板

找到other Settings中,将Api Compatibility level变更为.NET 2.0即可。


本文解决了在Unity项目中遇到的系统配置与数据DLL引用冲突问题,通过调整BuildSettings面板下的ApiCompatibilityLevel设置为.NET2.0,成功解决了Assembly加载错误。
1483

被折叠的 条评论
为什么被折叠?



