Process Conversion (Web to Windows)

Hello!

I have converted the process from web studio to windows version.

I made changes to use shared drive instead of SharePoint in the process.

I am getting this error while I am trying to publish it to orchestrator, please advise.

24.10.12+Branch.support-v24.10.Sha.e032ae3ebf4f2aa129e7af115784c115fd63db8b.e032ae3ebf4f2aa129e7af115784c115fd63db8b

An item with the same key has already been added. Key: UiPath.System.Activities.Runtime

Error: System.ArgumentException: An item with the same key has already been added. Key: UiPath.System.Activities.Runtime
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
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, IEnumerable1 runtimePackages, Boolean ignoreOutputType)
at UiPath.Studio.ProjectPackager.Publish.Services.ProcessPackProcessor.CloneWorkflowProject(IWorkflowProjectModel projectModel)
at UiPath.Studio.ProjectPackager.Publish.Services.PackProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPackProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.ProcessPackProcessor.SetupAsync(IWorkflowProjectModel projectModel, ProjectPublishSettings settings)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.PublishAsyncInternal(IWorkflowProjectModel projectModel, IPublishSettings settings), HResult -2147024809

@Ranveer_S_Thakur ,

Remove the runtime dependencies from the project like UiPath.System.Activities.Runtime

Thank you for quick response @ashokkarale! It worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.