Custom Activities with code, how to setup? (For Legacy)

Hi!

Sorry if this is not the correct category, but I didn’t know where to post this.
I’m using UiPath 2021.10.8 Version (Need to use that version) and want to create custom activities with Visual Studio.
I’m unable to get the System.Activities dll.
Do I need a specific version of .NET? Where do I get the dll so I could add the reference to my project?

If anyone has done this, could you please provide me the steps how can I setup the project?

Thanks!

Hi @Branislav_Zivanovic,

You need .Net SDK 6. More documentation can be found at SDK - Creating activities with code.

Hope this helps!

Hi @ijanszen1
Thanks for the reply!
I need to refer to this post: SDK - Creating Activities With Code (Legacy) (uipath.com)
Have .NET 6 installed but still can’t access the System.Activities dll

Ahhh yes sorry, for the window legacy projects you need that version of the documentation. Did you follow the guide step-by-step? It references .NET 4.6.1 there, selecting it as a framework and adding it as a reference.

Btw, you are aware that legacy is being deprecated by UiPath? You will still be able to edit existing legacy project for a while, but it is already recommended to start migrating.