我使用unity 2017.2并在构建APK文件时遇到此错误
ArgumentException: The Assembly System.Reflection.Emit is referenced by Microsoft.AspNetCore.SignalR.Core ('Assets/Plugins/Microsoft.AspNetCore.SignalR.Core.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[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:152) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:192) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
我的项目需要使用.Net 4.6。因此,我在播放器设置中进行了更改。当我在编辑器中单击播放时,我没有任何错误,但是当我要构建它时,这是失败的地方。
希望有人可以帮助我。谢谢
我正在使用unity 2017.2并在构建APK文件ArgumentException时遇到此错误:Microsoft.AspNetCore.SignalR.Core引用了Assembly System.Reflection.Emit('Assets / Plugins / ...
我在另一个线程中找到了此问题的解决方案。