How to troubleshoot and solve the error "Could not load file or assembly 'C3eecf564ad844e19a19.LvNCr3T4llK18une14eDJEP3, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified." while running a project from Studio 23.4? Post upgrade of Studio to version 23.4.0, the projects do not run because of this error.
After upgrading Studio to version 23.4.0, which introduces “Separate runtime dependencies”, projects fail during running with the error:“Could not load file or assembly ‘…’, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.”
Root Cause: This issue is caused by a bug listed in the Release Notes. The project is originally built and published using 2023.4.0 which had the ‘Separate Runtime assembly’ feature due to which the Executor was expecting to find the compiled custom model assemblies, but when the project was published from v2023.4.1 version or a higher version, the assemblies were excluded.
Resolution: In order to solve this, proceed as follows:
- Upgrade UiPath Studio to v2023.4.1 or higher
- Disable the 'Separation Runtime Dependencies' in the project
- Publish the project again
- Run the job from Orchestrator.