Quantcast
Channel: Questions in topic: "dllimport"
Viewing all articles
Browse latest Browse all 160

Multiple DLL with the same class reference

$
0
0
Hello, I am using third party libraries in my projects, one is [Diagflow for Unity][1] and the second is [Ros for Unity][2] My issue comes with the fastJSON.dll and NewtonSoft.Json.dll they both are sharing classes namespaces and i get the error "The class X exist in both LIBRARY1 and LIBRARY2" if i remove one of the 2 libraries errors dissapear, BUT there are third libraries that depend to both libraries, so if i remove one i can run the project but i get the error "THIRDASEMBLY can not be load because it cant locate (THE LIBRARY I HAVE JUST DELETED)" I cant modify those libraries since they are thirdparty, I have tried adding an extern alias following [this example][3] without success [1]: https://github.com/dialogflow/dialogflow-unity-client/tree/master/Assets/ApiAiSDK [2]: https://github.com/siemens/ros-sharp [3]: https://github.com/DashW/UnityExternAlias/tree/master/Assets

Viewing all articles
Browse latest Browse all 160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>