How to import required dependent dll file to Invoke code of C#

I am new here.

i have C# code that required some library. So i want to know how can i import those required library to my Invoke Code activity.

Please help me.

There’s no way to directly import your dll file. In order to reach your final goal, you have to create a Library in Studio or a custom activity. Since, creating a Library in Studio is most of the times easier and consumes less time than creating a custom activity, wrap the public methods and properties of your dll in a Library and publish that library (the .nupkg file) to a custom feed location and add it to your project. Here’s the link for creating Libraries in Studio: Creating a Basic Library

Hi @pankajs3

Have a look to the below thread :-

Mark as solution and like it if this helps you :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

@Pratik_Wavhal
I have tried by your way by creating custom activity but after installing .nupkg package it is displaying in project session but activity is not adding in activities.

Hi @pankajs3

Have a look to the below thread :-

Mark as solution and like it if this helps you :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer: