Unexpected error has occurred during the library compilation process:

I am working with UiPath Community version (2025.0.25), my previous workflows are under Windows-legacy. Now, the current version made it mandatory to update the workflow to “Windows”. While converting and compiling my resource, i am facing few challenges:

Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors from"Main.Xaml"

  • (5328) : error BC31061: property ‘Get_OriginalAmount’ conflicts with a member implicitly declared for property ‘originalamount’ in class ‘Main_Expressions_TypedDataContext2’.
    [Note: Orginalamount = System.text.regularExpression.Regex.Match(Get_OriginalAmount,“\d+”).Tostring]

I have tried to updated with matches activity but still no luck.

Please help.

@Alfa_Alfa08

remove that activity completely…and delete the variables as well and recreate

cheers

Sure. I’ll try that.

@Anil_G @uipath
I am still facing challenge with it

25.0.157-cloud.18912+Branch.release-s157.Sha.7489f58f146d342879812d8004994f9c67c3982f.7489f58f146d342879812d8004994f9c67c3982f

Compilation failed or was cancelled.

Hi @Alfa_Alfa08

Update the UiPath.System.Activities to the Latest version and try.

Hope it helps!!

@Alfa_Alfa08

please open details and show complete details here

also is this a migrated project?

cheers

I have updated to latest version and circled back to previous versions to check the compatibility of version but no luck. Got same issue

25.0.157-cloud.18912+Branch.release-s157.Sha.7489f58f146d342879812d8004994f9c67c3982f.7489f58f146d342879812d8004994f9c67c3982f

Compilation failed or was cancelled.
Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors from ‘Main\EC_200391.xaml’:

  • (4776) : error BC31061: property ‘Get_OriginalAmount’ conflicts with a member implicitly declared for property ‘originalamount’ in class ‘EC_200391_Expressions_TypedDataContext2’.
  • (4956) : error BC31061: property ‘Get_OriginalAmount’ conflicts with a member implicitly declared for property ‘originalamount’ in class ‘EC_200391_Expressions_TypedDataContext2_ForReadOnly’.

Yes it is a migrated projected. Could you please be specific which details need!

Thanks,
Alfa

@Alfa_Alfa08

may I know what are these properties for?

where it is being used…did you try removing all these instances and readd?

cheers

Thanks for the all help! @mkankatala @Anil_G

I have found the solution. Just updated the sequence them into new workflow and moved the variable to arguments from main .Xmal.

updated all the existing package with latest version.

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