Unexpected error has occurred during the library compilation process: Could not find file in uipath

Compilation Error : PREPROCESSING: Loading xaml, Unexpected error has occurred during the library compilation process: Could not find file in UiPath

Scenario:
After renaming the default name CloseAllApplications to 4.1-CloseAllApplications and added new input arguments

Any suggestions?

I suggest renaming the file back to what it was.

@kalpana_venkutusamy

The error means the reference of the file on your library is missing somewhere.

Check all invoke workflow activities and reference.

@kalpana_venkutusamy

you would need to import in every invoke workflow after change..if there are testing modules which are default you would have missed there as well

cheers

Hi @kalpana_venkutusamy

The error is caused by the XAML rename.
Library workflows can’t reliably compile when the file name starts with a number or contains dots. Rename it to something like CloseAllApplications_4_1, save, and rebuild.

The best way is to rename the workflow back to CloseAllApplications.

Else you may have to check wherever this .xaml is being called and map the arguments.

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