Unity3D 程序打包报错(程序是连接数据库进行处理的)

打包这个Unity3D的程序时出现错误(程序是由XML数据改成连接数据库):

ArgumentException: The Assembly System.Configuration is referenced by System.Data. 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) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/AssemblyHelper.cs:72)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/AssemblyHelper.cs:75)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/AssemblyHelper.cs:75)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/AssemblyHelper.cs:107)
UnityEditor.HostView:OnGUI()

解决办法:

在player settings里将api capability level里的.Net 2.0 Sub 改成.Net 2.0就行了

Unity3D 程序打包报错(程序是连接数据库进行处理的)

时间: 2024-10-12 13:22:44

Unity3D 程序打包报错(程序是连接数据库进行处理的)的相关文章

网上下载的dubbo-admin控制台程序启动报错Bean property 'URIType' is not writable

因为linux中使用的是jdk1.8,所以网上直接下载的dubbo-admin.war基本是2.5.4及以下的,如果放入tomcat中启动会报以下错误信息 Caused by: org.springframework.beans.NotWritablePropertyException: Invalid prope rty 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURI Broker]: B

wepy开发小程序eslint报错error 'getApp' is not defined no-undef

wepy开发小程序使用getApp().globalData保存全局数据很方便,但是会在控制台看到很多报错:"error 'getApp' is not defined no-undef",这是eslint报错. 解决办法:在.eslintrc.js文件中加入   globals: { getApp: true } wepy开发小程序eslint报错error 'getApp' is not defined no-undef 原文地址:https://www.cnblogs.com/s

关于在使用sparksql写程序是报错以及解决方案:org.apache.spark.sql.AnalysisException: Duplicate column(s): "name" found, cannot save to file.

说明: spark --version : 2.2.0 我有两个json文件,分别是emp和dept: emp内容如下: {"name": "zhangsan", "age": 26, "depId": 1, "gender": "male", "salary": 20000} {"name": "lisi", "ag

maven打包报错问题解析

1. 场景描述 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean) on project sptest: Failed to clean project: Failed to delete 2. 解决方案 2.1 问题定位 错误发生在idea下时候clean命令,很明显问题发生在clean的时候target这个文件夹下的文件删除不了. (1)难道无意中打开了配

Android打包报错 Export aborted because fatal lint errors were found. These are listed in the Lint View

打包时报如下错误: Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn off"Run full error check when exporting app" in the Android > Lint Error Checking preferenc

maven install 打包 报错 Cannot run program "gpg.exe": CreateProcess error

打包报错, mvn install后加上参数-Dgpg.skip,例如:mvn install -Dgpg.skip   即可解决. 我们也可以去掉 这个 插件   <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-gpg-plugin</artifactId>                &l

CORDOVA :添加cordova-plugin-file-opener2插件cordova打包报错

原文:CORDOVA :添加cordova-plugin-file-opener2插件cordova打包报错 最近在接触android项目,其中涉及到APP自动更新的问题,当新APP下载成功后需要打开调用cordova.plugins.fileOpener2.open,但是当引用了cordova-plugin-file-opener2插件后,重新打包项目发现报错: 代码: function downloadFile() { $('#bbsm').css({ 'height' : '200px',

webpack 打包报错:One CLI for webpack must be installed. These are recommended choices, delivered as separate packages

webpack 打包报错: One CLI for webpack must be installed. These are recommended choices, delivered as separate packages: 解决办法: 全局.局部安装个遍!具体什么原因还不清楚... 先全局安装webpack和webpack-clinpm install webpack -gnpm install webpack-cli -g再局部安装webpack和webpack-clinpm inst

AS打包报错:Generate Signed APK: Errors while building APK. You can find the errors in the &#39;Messages&#39; view.

在网上查阅相关资料找到解决办法如下: 找到app文件下的build.gradle文件,之后在该文件中的android加入如下代码即可: AS打包报错:Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view. 原文地址:https://www.cnblogs.com/hwh000/p/10758645.html