You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tesseract from within visual studio, the act of running the project causes the X86 and X64 folders from the solution packages\Tesseract.5.2.0 folder to be copied to the bin folder. The folders contain the 32 & 64 bit versions of the leptonica-1.83.1.dll and tesseract53,dll files. Without these files, the tesseract library will not run.
Unfortunately, if you create a setup project (installer) for your solution. These folders are not included in the installer project and therefore, when the program is installed, the program crashes because the required dll's are missing.
I can MANUALLY add the folders & files to the installer project however, if the nuget package was ever updated by another developer, they would have to remember to manually update the files in the installer project but, it would get frequently overlooked.
We use many external libraries in our project but have never run into this issue/requirement before. Is there something I am missing or doing wrong with the files? Can the deployment and updating be an automated like it is with other NuGet Packages?
Thanks
The text was updated successfully, but these errors were encountered:
PhillD2024
changed the title
This DOES NOT WORK when the solution is installed on an end users PC from an installer (setup) project
This DOES NOT WORK when the solution is installed from an installer (setup) project
Jan 25, 2024
When running tesseract from within visual studio, the act of running the project causes the X86 and X64 folders from the solution packages\Tesseract.5.2.0 folder to be copied to the bin folder. The folders contain the 32 & 64 bit versions of the leptonica-1.83.1.dll and tesseract53,dll files. Without these files, the tesseract library will not run.
Unfortunately, if you create a setup project (installer) for your solution. These folders are not included in the installer project and therefore, when the program is installed, the program crashes because the required dll's are missing.
I can MANUALLY add the folders & files to the installer project however, if the nuget package was ever updated by another developer, they would have to remember to manually update the files in the installer project but, it would get frequently overlooked.
We use many external libraries in our project but have never run into this issue/requirement before. Is there something I am missing or doing wrong with the files? Can the deployment and updating be an automated like it is with other NuGet Packages?
Thanks
The text was updated successfully, but these errors were encountered: