Files from 2025.0157 studio cannot be found on 2023.4.2

Hello

So i upgraded my dev studio to 25.0.157.
Now all the projects i publish runs fine on my 25 test server, but when i move to prod, which are a 23.4.2 robots, i get an error saying the that the package cannot be found, about 8 seconds after i started the run.

Now it the main project it connot find, not a dependency.
The error reads as following
Could not load file or assembly ‘ProjectName, Culture=neutral, PublicKeyToken=null’. the file cannot be found.

System.IO.FileNotFoundException: Could not load file or assembly ‘Prissammenligning_V2-Performer, Culture=neutral, PublicKeyToken=null’. Den angivne fil blev ikke fundet. at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
at UiPath.Executor.WorkflowLoader.GetWorkflowFromXamlPath(WorkflowFile workflowFile)
at UiPath.Executor.WorkflowLoader.LoadWorkflow(String xamlPath, String compiledWorkflowAssemblyName)
at UiPath.Executor.RobotRunner.InitWorkflowApplication()
at UiPath.Executor.RobotRunner.ExecuteJob(Boolean preLoaded)

I’ve tried desabling the Seperate Runtime Dependency on the project, and i cannot find any differce in the Nuget.Config file

Do anyone have any ideas?

I had same problem before. 23.* robot can’t run a process built 25.* studio.

see UiPath Community 2024.4 Release - #43 by loginerror

Cheers

@jeppe_jakobsen,

It looks like the Studio 25.0.157 project won’t have compatibility with 23.4.2.
As Studio 25.0.157 is a Community edition version and not a Enterprise release we don’t have clarity on it now. You can refer this compatibility matrix.

Solution for now will be using the Enterprise version studio for development. Latest version available is 2024.10.6

Hey @jeppe_jakobsen so your Studio 25.0.157. and the Robot that is in Prod is 23.4.2 .so if you try to run your project it throws error because the dependencies you are using in the studio is latest and in prod the bot is Older version. because if you project develop on older version and run in the latest version it has the the present version compatibility but in your case your studio is newer version and you bot is still older one

Soo, a fix could be to downgrade the studio? That’s the only real option i guess - i’m not upgrading the prod, if i dont know what kinda compatability it has with stuff like legacy

Yes, downgrade studio is the only option.

I am not quite sure if this will work. I was testing 24.* project with 23.* robot and it did not work.

Cheers

Yes, theoretically because I couldn’t really recreate the scenario but try it. Downgrade the studio to enterprise version, open your project, downgrade all the packages versions to the number which comes by default with 2024.10.6 and publish it.

Cheers!

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