Cannot run my project after migrate to windows type (forced by upgrade 22.10)

once i’ve migrated my projecte from windows_legacy to windows type, I’m not able to run it.

I’ve tried to debug it, setting up a breakpoint into the first activity and it raises the error without stoping on it.

I face next error:
22.10.1+Branch.master.Sha.6819bfe64fea81995a1624684fda5212d2bd4dc1

An item with the same key has already been added. Key: VisualBasicValue`1_1

System.ArgumentException: An item with the same key has already been added. Key: VisualBasicValue1_1 at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)
at UiPath.Executor.Tracking.ActivityIdsResolver.Register(WorkflowInfo workflowInfo)
at UiPath.Executor.Tracking.DebugTrackingParticipant.RegisterWorkflow(WorkflowInfo workflowInfo)
at UiPath.Executor.DebuggerPlugin.UiPath.Executor.IDebuggerPlugin.RegisterWorkflowTracking(WorkflowInfo workflowInfo)
at UiPath.Executor.Tracking.WorkflowTracking.RegisterWorkflowTracking(WorkflowInfo workflowInfo)
at UiPath.Executor.WorkflowRuntime.RegisterWorkflow(WorkflowInfo workflowInfo)
at UiPath.Executor.RobotRunner.InitWorkflowApplication()
at UiPath.Executor.RobotRunner.ExecuteJob()

is it "System.Collections.Generic.Dictionary 2.TryInsert " or "System.Collections.Generic.Dictionary "

Hello @jomagoro

Have you tried updating the dependent packages as well after the project update? Hope this flow was working earlier without any issue.

Thanks

this was the main reason to migrate to windows type. I should change a library and I couldn’t publish it because of build failure. Once I’ve mitgrate the library to windows type it was published correctly, but once I’ve wanted to use it in my project I’ve been forced to migrate it as well.

I’ve copied&pasted the stacktrace from log file without editing it

So did you try migrating to Windows from windows legacy? Is it throwing error?

Thanks

Yes, you are right

then go to manage package and update all the packages. Then run it once.

Thanks