简体   繁体   English

从Unity3D中的构建中排除dll

[英]Exclude dlls from build in Unity3D

I build my app into apk file and get editor log that makes me kind of dissapoinmented. 我将我的应用程序构建到apk文件中并获取编辑器日志,这使我有点失望。

There are dependencies in my build: Mono.Security.dll System.Core.dll System.dll mscorlib.dll UnityEngine.dll UnityEngine.Networking.dll Assembly-Sharp.dll 我的构建中有依赖项:Mono.Security.dll System.Core.dll System.dll mscorlib.dll UnityEngine.dll UnityEngine.Networking.dll Assembly-Sharp.dll

And I tend to think that by using mscorlib into stripping level could make me free of System.dll. 我倾向于认为通过使用mscorlib进入剥离级别可以使我免于System.dll。

I use nothing special but only IEnumerators and primitive types. 我没有使用任何特殊但只有IEnumerators和原始类型。

Could someone suggest what can I do for exlude non-using dlls ? 有人可以建议我可以做什么来排除非使用dll?

Thank you! 谢谢!

Answer is that UnityEngine.dll personally uses the System.dll. 答案是UnityEngine.dll亲自使用System.dll。 So, that is it. 所以,就是这样。 There is no opportunity to avoid System.dll. 没有机会避免使用System.dll。 By the way, do not select "use mscorlib" in stripping level in settings, because Unity adds the mscorlib.dll and actully do not use it. 顺便说一句,不要在设置中的剥离级别中选择“使用mscorlib”,因为Unity添加了mscorlib.dll并且不会使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM