Reference to assembly 'System.Collections


Im trying to utilize queues from UiPath Orchestrator into my workflow, however Im currently receiving the following error: “Error ERROR Validation Error CS0012: The type ‘Dictionary<,>’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Collections, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. .local/ActivityTestBench/Bench_0.xaml”

The workflow is in C# and with current setup:

I have already tried to add the import, System.Collections, and for good measure all of the other System.Collections.*

Solution: Utilizing a for each, which takes argument type KeyValuePair<string, object>. Reload project after adding this, and the import should be fixed.

1 Like

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