Welcome to forum @Amanyu_Roy ,
You can try updating or reinstalling the UiPath packages in your project.
If you’ve made changes to dependencies, clean and rebuild your project to ensure that old or cached versions of libraries are not causing conflicts.
regards,
The error message you’re encountering in UiPath suggests that there is a mismatch or issue with the version of the dependencies used in your project. Specifically, it appears to be related to Microsoft.Extensions.DependencyInjection, which is a common library used for dependency injection in .NET applications.
Make sure that you are using the correct version of UiPath’s Intelligent OCR activities that is compatible with the version of Microsoft.Extensions.DependencyInjection used in your project.
If you find that your dependencies are outdated, try updating them to the latest versions that are compatible with each other and with UiPath
After updating or modifying your dependencies, clean your project solution and rebuild it to ensure that all the packages and references are properly resolved.