No matching constructor found on type 'System.Activities.Activity'

I know many similar questions have been asked, but my situation is different. I am migrating someone else’s projects from Windows Legacy to Windows, and I’m encountering this error in several projects. I can’t keep reinstalling the studio for each project migration in the hope that the issue will be resolved, as suggested in this answer.

I have tried different versions of UiPath.System.Activities, and the most stable version for me, with the fewest errors related to the UiPath.System.Activities package, is version 21.10.2. This version resolved many issues, leaving only this one error unresolved.

this is the full error

Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\InitAllSettings.xaml. Reason was ‘No matching constructor found on type ‘System.Activities.Activity’. You can use the Arguments or FactoryMethod directives to construct this type. No default constructor found for type ‘System.Activities.Activity’. You can use the Arguments or FactoryMethod directives to construct this type.’.

any guide from a .Net Developer also would be helpful to understand this from the .NET perspective and understanding the error on the deeper level

Hi @indiedev91
THe below thread should help you.

Regards

I already mentioned that

Hello , I am facing similar issue. Did your issue gets resolved?