Hi!
I have a problem using managed DLLs: i can link and compile the DLLs fine in MonoDevelop, but using them in a new project i get this error message in the editor console:
(the project is empty save for the dlls)
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
My DLL setup is as follows (not a trivial setup):
HTTP.dll - a custom dll built from a modified UnityHTTP source
Ionic.Zip.dll - a dll used by UnityHTTP, and some of my code
My.dll - “runtime” part of the managed code i wish to use in a dll
Editor/My.dll - “editor” part of the managed code
My.dll references the
- UnityEngine.dll
- UnityEngine.UI.dll
- HTTP.dll
- Ionic.Zip.dll
Editor/My.dll references
- UnityEditor.dll
- UnityEngine.dll
- HTTP.dll
- Ionic.Zip.dll
- My.dll
what am i missing? what could be the problem?
(im on unity 5.2.1p1)