I'm running an automated application in WinForms and using Tesseract, when I run on localhost it works perfectly, but when I publish or export the bin
folder to another computer, it shows me this error:
System.DIINotFoundException: Failed to find library "leptonica-1.80.0.dll" for platform x86.
in InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)
in
Interop Runtimelmplementer.LeptonicaApiSignaturesInstance.Leptonica ApiSignaturesImplementation..ctor(LibraryLoader loader)
- I already tried to move it to
myproject\packages\Tesseract.4.1.1\lib\net45\leptonika-1.80.0.dll.
unsuccessfully - already checked .NET versions
- I already tried to install the tesseract package in the project's bin folder