Could Not Find Type BuildDictionary


#1

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?


#2

Have you installed all the packages?


#3

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.


#4

#5

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


#6

If possible can you attach your workflow.


#7

Hi @whyyouandi,

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

Reference : https://msdn.microsoft.com/en-us/library/jj193500(v=azure.10).aspx#Anchor_5


#8

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


#9

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: