I created a custom activity for rotating pdf files.
In the c# code I imported iTextSharp library and performed some actions with it. When I did the same code in a separate VS C# project it worked absolutely fine. When I created my custom activity following the steps from the official tutorial from UiPath, it throws me an error when using it:
Rotate PDF : Could not load file or assembly ‘itextsharp, Version=22.214.171.124, Culture=neutral, PublicKeyToken=8354ae6d2174ddca’ or one of its dependencies. Не удается найти указанный файл.
My activity takes three input arguments: path to the file, path to the new file, angle of rotation.
So when I pass the path and run the project in UiPath it gives the above error. What should I change to prevent the error?
ActivitiesRotatePDF 1.0.2.nupkg (4.2 KB)
Main.xaml (5.7 KB)