Custom activity to read a native pdf

Hi Everyone,

I have created a custom activity using c# to read a pdf in visual studio 2022. But when i am trying to run the activity i am getting the below error in UiPath

Could someone please help.

ReadPdfActivity: Could not load file or assembly ‘itextsharp, Version=5.5.13.4, Culture=neutral, PublicKeyToken=8354ae6d2174ddca’. The system cannot find the file specified.

@bhanusai_sajja

Upgrade the version of read pdf text and update the package

I am getting error like iTextSharp dependency does not exist but when i am trying to download the iTextSharp package from UiPath it is saying that it is not supported for windows project.

What to do …Please suggest

@bhanusai_sajja

Please install this and give a try

Hi @rlgandu ,

Tried installing portable.itextsharp but still getting the same error.