which version of UiPath you are using? Do you have multiple users on your system?
2016 version & single user
Hi Manish, are you able to see the activity now?
Kindly provide the solution for this, if you are able to view your custom activity. I have been facing similar issue.
TIA
Naveen
Hi @manish110,
i just created sample Addition process
Refer the below code
1.C# Code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Activities;
using System.ComponentModel;
namespace Addition
{
public class Addition1 : CodeActivity
{
[Category(“Input”)]
public InArgument value1 { get; set; }
[Category("Input")]
public InArgument<int> value2 { get; set; }
[Category("Output")]
public OutArgument<int> value3 { get; set; }
protected override void Execute(CodeActivityContext context)
{
value3.Set(context, (Convert.ToInt32(value1.Get(context)) + Convert.ToInt32(value2.Get(context))));
}
}
}
**2.Convert into package like(Addition1.Activities.1.nupkg **
3.Add package into below path
C:\Program Files (x86)\UiPath Platform\Packages
4.Close the UiPath Application
5.install the packages in uipath (click manage package(ctrl+P)->Available->install the Addition package
6.in activity tab search “Addition1” you can get the activity
can you check and modify as per your requirement, if you face any problem tell me.
@aksh1yadav ,@divyashreem,@andrzej.kniola please verify
Regards,
Arivu
Hi @rahatadi,
Follow this setps.
Nuget Package is not shown in Activities Tab - #47 by arivu96
Regards,
Arivu
thanks for suggestion but this method is not working for me somehow…i am able to add custom package but in activity field, it won’t showing anything
Yes…packages are visible…
but it is not visible that’s the problem …
Reset ur uipath settings and try again.
Regards,
Arivu
yes, this is working but i have problem with my packages
Hey @rahatadi
I have just compiled your code and its working fine for me.
AdityaActivities.1.0.0.nupkg (4.5 KB)
Regards…!!
Aksh
Please follow the article: https://activities.uipath.com/docs/creating-a-custom-activity
I had the same problem but in my case I have forgotten to create lib folder inside NuGet Package Explorer and I was not able to see “Simple Formula” after installing the package among activities. But after creating lib subfolder it works!