I am experiencing a persistent “Could not load file or assembly ‘UiPath.OCR.Core, Version=3.24.2.0’” error in my project, which is blocking all development.
The error occurs in a workflow that uses the “Extract PDF Text with OCR” activity with the “UiPath Document OCR” engine.
We have already tried the following troubleshooting steps without success:
- Updating UiPath.OCR.Activities and UiPath.PDF.Activities to the latest stable versions.
- Manually clearing the NuGet package cache by deleting the package folders from %userprofile%.nuget\packages.
- Replacing the deprecated “ReadPDFWithOCR” activity with the modern “ExtractPDFText” activity.
- Attempting to remove a hardcoded assembly reference to “UiPath.OCR.Core” from the Main.xaml file.
Despite these efforts, the error persists, indicating a deep-seated dependency conflict within the project or environment.
Project Details:
- Project Name: scholarship_automation
- Target Framework: Windows
- UiPath Studio Version: 26.0.186.0