Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This DOES NOT WORK when the solution is installed from an installer (setup) project #661

Open
PhillD2024 opened this issue Jan 25, 2024 · 0 comments

Comments

@PhillD2024
Copy link

PhillD2024 commented 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

@PhillD2024 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant