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!