cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Thingworx .NET SDK with Unity - "EntryPointNotFoundException: SetDllDirectory"

jwindsor
1-Newbie

Thingworx .NET SDK with Unity - "EntryPointNotFoundException: SetDllDirectory"

I'm having a difficult time getting Unity to load the Thingworx .NET SDK. I get

EntryPointNotFoundException: SetDllDirectory

com.thingworx.communications.client.TwApiWrapper.SetPathOfCoreLibrary ()

Rethrow as TypeInitializationException: An exception was thrown by the type initializer for com.thingworx.communications.client.TwApiWrapper

com.thingworx.communications.client.BaseClient.initialize ()

com.thingworx.communications.client.BaseClient..ctor (com.thingworx.communications.client.ClientConfigurator config)

com.thingworx.communications.client.ConnectedThingClient..ctor (com.thingworx.communications.client.ClientConfigurator config)

LightTest.Start () (at Assets/LightTest.cs:32)

where LightTest.cs:32 is: client = new ConnectedThingClient (config);

My directory structure is:

Assets

     LightTest.cs

     LightThing.cs

     Test.unity

     Plugins

          Newtonsoft.Json.dll

          thingworx-dotnet-common.dll

          x64

               twApi.dll

          x86

               twApi.dll

Any tips or recommendations will be greatly appreciated. Thanks!

0 REPLIES 0
Top Tags