Iwould like to add that I was able to successfully add this custom .dll in another Windows Application project and was able to add this custom .dll as reference. Thereafter creating an instance of this imported .dll I was able to use the public functions.
In visual studio->new project->class library. Once project loaded, delete the default class1. Now, right click on project and click on add->component. Write required methods and build the solution. Follow below instructions to use in automation.
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:
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?
I had a similar issue where the activities were not showing up. After cross checking my code in visual studio i realized that i was not setting the output to an output variable. Uninstalled my packages in UiPath and reinstalled with the latest one fixed my issue. Have a look at your code, if you are missing something like this.
3a8082e126