Could Not Find Type BuildDictionary

Hello, when I install UiPath on new machine and open my workflow, it threw me this error:

Could not find type ‘BuildDictionary(String,Object)’ in namespace ‘http://schemas.microsoft.com/workflow/2012/07/xaml/activities’. Row: 129, Column: 16Could not find type ‘BuildDictionary(String,Object)’ in namespace ‘http://schemas.microsoft.com/workflow/2012/07/xaml/activities’. Row: 129, Column: 16

What I did:

  1. Added System.Collections.Generic to Import Namespace
  2. Check this page, make sure the activities needed are installed.
    Link: https://activities.uipath.com/docs/about-the-core-activities-pack
    Installed: Microsoft.Activities.Extensions and UiPath.Core.Activities
  3. Restarted PC after doing 1 and 2

But nothing worked. Any advice what to do?

Have you installed all the packages?

Hello @MahalingPatil, could you clarify what you mean by the packages?
If you mean all the Activities Packages included on UiPath documentation, no, not all, since my workflow doesn’t need some of it.

Hello @MahalingPatil, I installed packages that is clearly needed by the workflow.
Could you point out the activity packages needed to use Dictionary?

If possible can you attach your workflow.

Hi @whyyouandi,

Can you try installing\updating Workflow Manager Activities ? I guess Build Dictionary is a part of workflow manager pack.

Reference : Workflow Manager 1.0 Data Type Support and Expressions Activities | Microsoft Learn

1 Like

Hello @Dominic, that’s exactly it is.
Thank you so much for being such a big help, again! Cheers!

1 Like

Thank you for your kind response @MahalingPatil, but I can’t upload my workflow and it happen on new workflow too, but got the solution already, thank you for your time :slight_smile: