Invoke Workflow, Unexpected error has occurred during the library compilation process: The given key '' was not present in the dictionary

I have the 2 below workflows, when I run Orchestrator - Storage - Download File.xaml it works fine without any issues, when I run Main.xaml I get the below error

23.10.3+Branch.support-v23.10.Sha.ceeb2a4c480c2b7a4d12600ae5d39a26b6930830

Compilation failed or was cancelled.

With the below in the Output panel

Unexpected error has occurred during the library compilation process:
The given key 'C:\pathToOtherProject\Orchestrator - Storage - Download File.xaml' was not present in the dictionary.

Main.xaml

this just invokes Orchestrator - Storage - Download File.xaml
It has the following packages
UiPath.System.Activities → 23.10.6
UiPath.UIAutomation.Activities → 23.10.12

Orchestrator - Storage - Download File.xaml

This components has default values at the minute and runs fine on it’s own, it just has the activity
Orchestrator > Storage >Download Storage FIle
it has the following packages
UiPath.System.Activities → 23.10.6
UiPath.UIAutomation.Activities → 23.10.12
Below arguments

Argument Name Default Value
in_strFileName SharePoint_Certificate-RAD.pfx
in_strFolderPath Default
in_strBucketName Config Files
in_strSaveToFolder C:\Temp

Fixed this, looks like Windows projects can’t invoke workflows outside of the project like Windows-Legacy projects could :enraged_face:

2 Likes

@ConorSmalley

That’s right

Hi @ConorSmalley

Good to know that you have resolved your issue :slight_smile:
Kindly consider marking your post as solution so this topic can be closed and help others with similar issues.

Regards
Sonali

1 Like