Error when opening script in another (newer) version of UiPath


#1

I receive the following error:

“Activity could not be loaded because of errors in the XAML”.

Could not find type 'UiPath.Activities.ForEach(String) in assembly ‘UiPath.Activities’.

How can I resolve it.?


#2

You can try to re-open that project XAML with an older version of UIPath Studios. For windows 10, go to C:\Users<username>\AppData\Local\UiPath
The older version of Studios will still remain there. See if you can recover from the older version.

Otherwise, if you use GIT or some sort of version control, to roll back your XAML source. Good luck


#3

use search and you’ll find the solution here