Getteing error when publish to orchestrator: An item with the same key has already been added. Key: UiPath.UIAutomation.Activities.Runtime

Hi All,

i have created process and updated on it suddenly gave me the activity in high view as it collapsed but it was working when tun, i noteced that it removed uiautomation and system activity packages. i have added ther and i can see activities.

when i run the process running successfully but when i publish it gave erroe in pic below:

image

and error details: please note i havnt use any dictionary variable.

Error: System.ArgumentException: An item with the same key has already been added. Key: UiPath.UIAutomation.Activities.Runtime
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector)
at UiPath.Project.WorkflowProjectRepository.OpenProjectFromText(IWorkflowProject project, IEnumerable`1 runtimePackages, Boolean ignoreOutputType)
at UiPath.Studio.ProjectPackager.Publish.Services.ProcessPublishProcessor.CloneWorkflowProject(IWorkflowProjectModel projectModel)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPublishProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.ProcessPublishProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.PublishAsync(IWorkflowProjectModel projectModel, IPublishSettings settings), HResult -2147024809

Hi @takyysh

Check on the below post

Hope this helps!!