“在构建unity3d SignalR时不允许包含dll或找不到dll”>

问题描述 投票:0回答:1

我使用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 / ...

android unity3d asp.net-core-signalr
1个回答
0
投票

我在另一个线程中找到了此问题的解决方案。

© www.soinside.com 2019 - 2024. All rights reserved.