简体   繁体   中英

Qlik Sense .dll building error (with Unity)

I have been having a problem with building a project within the Unity engine. I am trying to make a connection between Qlik Sense and therefore need some dll's (that I assume is the root of my problem). When Building, I get two errors in the console:

ArgumentException: The Assembly Microsoft.VisualBasic is referenced by Qlik.Sense.Communication ('Assets/bin/Qlik.Sense.Communication.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:142) 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:148) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179) UnityEditor.HostView:OnGUI()

and directly after

UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x001b9] in C:\\buildslave\\unity\\build\\Editor\\Mono\\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00050] in C:\\buildslave\\unity\\build\\Editor\\Mono\\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI()

The version of Unity that I use is 2017.1.0f3, and should be compatible with 4.6 .NET (which I have also set in edit -> project settings -> player, so that is not the problem).

I can paste some code if you think it is necessesary, but i think the problems lie within either Visual Studio or Unity.

Any tips are appreciated! /Erik

正如Equalsk所暗示的那样:将.dll添加到Unity项目中的bin文件夹中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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