Managing IronOCR Runtimes Folder

This article was translated from English: Does it need improvement?
Translated
View the article in English

Common exceptions seen when encountering this issue are:

  • Error while deploying Tesseract for IronOcr
  • Unable to locate 'libtesseract-5'
  • Failed to locate 'libtesseract-5'
  • Failed to locate Tesseract-5
  • Error while locating deployment configuration file at \bin\runtimes\win-x64\native\IronOcr.Native.deployment.json

Starting in version 2022.8.7804, IronOCR packs Tesseract instead of installing it separately as a dependency.

Recommended:

  1. Deploy using the Publishing Wizard from within Visual Studio and select Portable as the target runtime (this will automatically include the runtimes folder).
  2. If unable to use Visual Studio to manage your deployment, manually copy the runtimes folders from a development machine into the bin folder on your production machine.
  3. Try the Windows Installer.

If you are seeing this issue running Azure on local, this is because the Azure Storage Emulator (Azurite) creates an additional bin folder. Please see the following article for a more detailed explanation and workaround: Debugging Azure Functions on Local Machine - IronOCR.

Debugging Azure Functions

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 5,044,537 | Versión: 2025.11 recién lanzado