Unable to load DLL 'LexActivator32'


I have a project with target build that is set to AnyCPU and everything works fine on a 64bit machine however on a 32 bit machine I get an error:
System.DllNotFoundException: Unable to load DLL ‘LexActivator32’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
** at Cryptlex.LexActivatorNative.SetProductData_x86(String productData)**
** at Cryptlex.LexActivator.SetProductData(String productData)**

I have to note that LexActivator32.dll file is inside application directory, also I tried to put file in x86 folder but problem is the same?

Best regards


Hi Mirko,

You have not installed the 32 bit version of VS2015 runtime.