Cannot publish library on Stidio 2020.4.1

Hi,

I am getting the below error when trying to publish a library. When i run standalone everything works without any issues.

The assembly compilation returned the following errors: * The type ‘OCREngineAsyncCodeActivity’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘UiPath.OCR.Contracts, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null’. * ‘MicrosoftOCR’ does not contain a definition for ‘DisplayName’ * The type ‘OCREngineAsyncCodeActivity’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘UiPath.OCR.Contracts, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null’. * ‘MicrosoftOCR’ does not contain a definition for ‘DisplayName’

Regards,
Praveen

I’m getting the same error as well.
Can you please advise on what needs to be done here?

I am getting the same error, while publishing. Can someone please help us with this?

Hi @Ryan_Fernandez1 @tusharUdeep,

I just tried Import Namespaces and that worked for me.

image

Thanks @plobo. It worked.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.