Banner background image
Developer Guide
Last updated 23 mars 2024

Creating activities with code

You can create your own custom activities in Microsoft Visual Studio using the UiPath activities template.


Adding the UiPath activities template in Visual Studio

The UiPath activities template (UiPath.Activities.Template) contains all the elements you need to get started on creating a custom activity. You can build activities that target the net6.0 framework which can be used in cross-platform projects in both Studio Desktop and Studio Web as well as in Windows projects in Studio Desktop.

  1. In Visual Studio, go to Tools > Options > Projects and Solutions > Locations and check the path set for the User project template location.
  2. Download the file from GitHub and copy it to the Visual Studio user project template location folder.

Creating a new project in Visual Studio

  1. In Visual Studio, select File > New > Project.
  2. Select the template UiPath Activities Template, and then click Next.

  3. Configure the details of the project and solution, and then click Create.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.