Sicos1977 / TesseractOCR

A .net library to work with Google's Tesseract
161 stars 20 forks source link

Incorrect path to tesseract.dll in version 5.2 #17

Closed gladkovayuliya closed 2 years ago

gladkovayuliya commented 2 years ago

Hello! I'm trying to add nuget package to my project (latest version), but getting error:

Could not copy the file "C:\Users\user.nuget\packages\tesseractocr\5.2.10\x86\tesseract51.dll" because it was not found.

I've done some exploring and it turned out that TesseractOCR.csproj has two references to tesseract.dll: first to verision 5.1 and second to version 5.2.
I think that the former is incorrect since version 5.2 was released?

Sicos1977 commented 2 years ago

Uh... I have to check if I did something wrong in the nuget package. It should indeed not reference tesseract51.dll anymore. Let me check

Sicos1977 commented 2 years ago

You are right I forgot to update the includes... did update the Links :-)

image

Sicos1977 commented 2 years ago

I'll make a new nuget packge

Sicos1977 commented 2 years ago

I just published a new nuget package with the path fixed. It should be available soon.

Sicos1977 commented 2 years ago

Did the new nuget package solve your problem?

gladkovayuliya commented 2 years ago

Yes, the problem is solved, thank you for quick fix!