Error while creating Custom Activity using Visual Studio code

I am trying to create my own custom activity by watching this video : https://www.youtube.com/watch?v=p8GrdJHwHPw&ab_channel=UiPath

This video is creating a custom activity very easily but it same thing i am doing, it is showing error as this:

Can someone help me with this ?

hi @RobotUi ,

First thing first Activity creator has been deprecated. Use this

Coming back to your error it could be due to mismatch in .net verison or incorrect import namespace statements

Some Stackoverflow threads you can check.

Is UiPath vanishing ? Why anyone is not creating videos on how to create custom activity for UiPath for Windows-compatibility. ?

There are only old videos on youtube for windows legacy.

Should i choose .NetFramework 6 while creating custom acitivity using Visual Studio 2022? so that is could support for Windows-Compatibility.

@loginerror @Jobin_Joy

@RobotUi,

Yes you should be using .Net 6 for Windows compatibility.

Thanks,
Ashok :slight_smile:

@RobotUi,

Here is documentation for this.

Thanks,
Ashok :slight_smile: