Validation Error - Cannot create unknown type

Hi, I have this UiPath studio robot. It was running fine until recently (2024 onwards). There was an error when i try to run directly by clicking the running button.

error:
Inbox_Email_Extraction.xaml: Cannot create unknown type ‘{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({clr-namespace:System.Collections.Generic;assembly=System.Private.CoreLib}List({clr-namespace:NewTestRegex;assembly=NewTestRegex.Core}PermitDetails))’.

However, the error did not show up when I run from the main sequence (3 dots), then click ‘continue’ after that.

sorry that I am a new user, unable to show more than 1 image.

Need help me to solve this issue. Many Thanks.

Hi,

It seems there is unresolved activity in Inbox_Email_Extraction.xaml.
For now, can you check what activity error caused in Inbox_Email_Extraction.xaml and if there is an erro regarding dependencies in Project panel?

Regards,

There is no error on dependencies. All dependencies were up to date. The error came at the start, before running any activity. Its like checking for validation. See image.