Hi everyone, I’m having some problems building a project using an external dll as a DB.
Here’s the error:
ArgumentException: The Assembly System.Web.Extensions is referenced by KHCliente. But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[ ] allAssemblyPaths, System.String[ ] foldersToSearch, System.Collections.Generic.Dictionary2 cache) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/AssemblyHelper.cs:52)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[ ] allAssemblyPaths, System.String[ ] foldersToSearch, System.Collections.Generic.Dictionary2 cache) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/AssemblyHelper.cs:55)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[ ] paths, System.String[ ] foldersToSearch) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/AssemblyHelper.cs:86)
UnityEditor.HostView:OnGUI()
And this one:
Error building Player: Extracting referenced dlls failed.
UnityEditor.HostView:OnGUI()
From what I could investigate, some said that by placing the dll in the Assets folder and adding the reference from the VS Project it was enough.
And it worked but only until I tried to build the entire project.
Anyone know why and what to do??
Thanks!!