UiPath Developer

The UiPath Developer Guide

Building Activity Packages

Knowing Your Project Type

Right-click any of your projects and observe the context menu.

If you see a Publish option, your project is SDK-Style and you're in the right place. Continue on to learn how to build your package.

If you DO NOT see a Publish option, your project is Non-SDK-Style. See this page instead for instructions on building this type of project.

All projects created using v2.2.0+ of UiPath's Activity Creator will be SDK-Style. For more information on the two project types, see Microsoft's documentation here.

Building Your Package

Given that UiPath's platform is built on the .NET framework, all activities take the form of a Nuget package (this is the .nupkg file you get when downloading an activity directly from UiPath Connect! or from the feeds in UiPath Studio's package manager). Let's walk through the steps to build a .nupkg file and import it into UiPath Studio for use.

1) Build the Package

Within the Solution Explorer, right-click your Design project and select Publish. This option builds your projects, packages them together, and sends the package wherever you'd like.

In the next screen, enter the folder in which you'd like to save your activity package. It's a good idea to choose one of your package sources from UiPath Studio (you can find these at Settings > Manage Sources on the Studio homepage) so you can publish directly from Visual Studio into UiPath Studio.
Click Create Profile to continue.

On the next page, rename your package source to UiPath Packages (or whatever you'd like) and change the configuration to Debug. Then click Publish.
For more info on Debug vs Release configurations, see Package Metadata.

Your output will then show that all three projects have been built successfully and the resultant package published. You now have a working activity package!

2) Use Your Activities in UiPath Studio

Open UiPath Studio, navigate to the Package Manager, and add your activity set to workflow.

Notice that a new category has been added to the Activities pane.

That's all! Give your new activity a try!

Updated 7 months ago

Building Activity Packages

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.