Custom Activity - System.Activities reference

Hi there,

I am developing a custom activity and when I am creating the NuGet package I need to add the System.Activities as a reference but I can’t find it out in the Edit dependencies option on NuGet.

Have you guys faced this issue as well?

Thanks in advance.


Welcome to the uipath community.

Are you using Visual Studio to create custom activity?

If yes then you click on Add References option and then you can add it all required references.

Hi @lakshman,

Thanks for your answer. Yes, I am using VS, I got to add it in the Project.

My issue is when I am trying to create the Nuget package. I need to add the dependencies and one of them is the Services.Activities, which I used to develop the custom activity. Please see below the screen that I am talking about.

Hi @lakshman

Do you know what I can do?

Hi there,

Does someone else have any thoughts? See below the message when I am trying to use my custom activity on UiPath:

RemoteException wrapping System.Exception: System.Runtime.InteropServices.COMException (0x800A03EC): Sorry,
we couldn’t find System.Activities.InArgument`1[System.String].xlsx. Is it possible it was moved,
renamed or deleted?
at Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename,
Object UpdateLinks,
Object ReadOnly,
Object Format,
Object Password,
Object WriteResPassword,
Object IgnoreReadOnlyRecommended,
Object Origin,
Object Delimiter,
Object Editable,
Object Notify,
Object Converter,
Object AddToMru,
Object Local,
Object CorruptLoad)
at ExcelEditLink.EditLink.UpdateLink(Int32 index)
at ExcelEditLink.EditLink.Execute(CodeActivityContext context)
at ExcelEditLink.EditLink.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)