Description
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