Compilation Errors with UiPath Studio Version v2023.10.4

Hello UiPath Community,

I’ve encountered a couple of challenging scenarios while working with different versions of UiPath Studio and I’m reaching out to see if anyone else has faced similar issues.

Scenario 1: Compilation Failed Error in Code Update

  • Environment: Code initially developed in UiPath Studio version 2023.4.4.
  • Issue: Attempting to update the code in version 2023.10.4 on the same development machine results in a Compilation Failed Error during publishing. Even when attempted to publish the code from 2023.4.4 after downgrading the UiPath studio version, the issue persists.

Scenario 2: “Could not load type system.activities.textexpressionbase 1” Error

  • Environment: Compiled the code in UiPath Studio version 2023.10.2 on a different laptop from the client machine.

  • Issue: While attempting to run it on Orchestrator, it throws an error: “Could not load type system.activities.textexpressionbase 1.”

  • Details: The activities version is strictly maintained to match the previous event’s installed packages.

  • Seeking Insight: Has anyone encountered a similar reference issue or does anyone have suggestions on resolving this?

  • Note: Orchestrator Version is 2023.4.4

Your input would be highly appreciated as I work to navigate and resolve these challenges. Let’s collaborate to find solutions!

2 Likes

Hi @nisargkadam23

  • First: Try to downgrading your project dependencies such as System.Activities and UiAutomation.Activies (If you use this one) to a lower version that the actual orchestrator version

  • Second(My solution): It happened to me several times, I solved it by returning the studio to a version prior to the orchestrator version, and dependencies versions like UiAutomation ans System.Activities cannot be greater than the orchestrator version either, after that publish from the new Studio old version in order to compile again the dependencies

Regards!

3 Likes

Hi @fernando_zuluaga,

Thank you so much for the suggestions.

The second solution worked for me, I donwgraded the UiPath Studio to version 2022.10.13 the latest previous LTS version of UiPath Studio.

This helped me to immediately publish and compile the code.

3 Likes

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