引用DLL打包出错”But the dll is not allowed to be included or could not be found.“
来源:互联网 发布:seo 工程师 编辑:程序博客网 时间:2024/05/21 22:07
报错
ArgumentException: The Assembly System.Drawing is referenced by NPOI ('Assets/Plugins/Net20/NPOI.dll'). But the dll is not allowed to be included or could not be found.UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:146)UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:152)UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:184)UnityEditor.HostView:OnGUI()
解决方案
点击Player Settings按钮,找到Api Compatibility Level选项,选择”.Net 2.0”,而非”.Net 2.0 Subset”
参考:
http://www.cnblogs.com/zhuweisky/p/3145130.html
0 0
- 引用DLL打包出错”But the dll is not allowed to be included or could not be found.“
- The language dll 'vb6chs.dll' could not be found !
- the language dll 'vbe6int.dll' could not be found
- monogame Unable to load DLL 'openal32.dll': The specified module could not be found
- There is a problem starting qcCoInstaller.dll The specified module could not be found
- how to solve ”The MathType DLL can not be found“
- "cabal: ar is required but it could not be found"
- To be or Not to be that is the question
- the command could not be located because '/bin' is not included in the path environment variable
- The command could not be located because '/sbin' is not included in the PATH environment variable
- The command could not be located because '/usr/bin' is not included
- The command could not be located because '/usr/bin' is not included
- The command could not be located because '/usr/bin' is not included
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- iOS SVN提交miss文件,is scheduled for addition, but is missin” could not be found.
- The JRE could not be found 解决办法
- The JRE could not be found
- The C++ Programming Language 读书笔记(一)
- linux_Package管理小结
- android仿最新版本微信相册--附源码
- TensorFlow调试功能初试
- jQuery_选择器
- 引用DLL打包出错”But the dll is not allowed to be included or could not be found.“
- postman测试文件上传
- struts1和struts2区别
- JUnit_setup()和teardown()
- Struts2_文件下载
- GridView仿微信添加多图效果
- Java_Dom4j_解析xml
- DB2入门(2)——数据库、实例、存储模型
- FreeMarker_web.xml