Unexpected error has occurred during the library compilation process: Unable to create activity builder for Main.xaml

I am getting this error when i give the necessary inputs to my activity and click on debug.

Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Main.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 ideas or thoughts would be helpful

It’s always good to search the forum for your error message. Lots of posts on this.

https://forum.uipath.com/search?q=unable%20to%20create%20activity%20builder%20for%20main.xaml

This error was caused due to an error in my auto generated xaml files and deleting my code and cloning my code from source and performing the necessary changes fixed my issue

1 Like

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