How to write a python code in visual studio and create a component for UiPath Studio

@Vaibhav_Oza,

  1. You need to create a dll with python code to make it as a componant in Uipath.Here is the link which will be useful for that : Help Online - Origin C - Access Python via External DLL

  2. You have to use Nuget package to make the dll a activity in UiPath…Another helpful link …
    User guide on how to create custom activities package? - #12 by Prakitk

If you need steps. Here they are :

  1. open the Nuget explorer and create new library and add the dll selecting the add existing option
  2. Click to edit and change the name of the package
  3. Save the package file with the desired name and copy the file(.nupckg extension) to the path Ex : C:\Users\hamadasi\AppData\Local\UiPath\app-18.4.0\Packages
  4. Open UIPath and search for the name and click install you will be able to execute the code giving the inputs
3 Likes