Could not load file or assembly ‘{ProjectName}, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified

I have upgraded my process from windows-legacy to windows and published it normally using studio to orchestrator. Then when i try to run the job on my VM it gives this error. I went into the VM to check and the package was downloaded successfully

  • Im running UiPath orchestrator on the cloud (cloud.UiPath).
  • VM is windows server 2019
Could not load file or assembly 'Xero-Run.Super, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.



System.IO.FileNotFoundException: Could not load file or assembly 'Xero-Run.Super, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 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)

Here are my dependencies (no custom libraries), i already updated all the packages in the manage packages to the latest version and made sure to keep the Runtime Rule as Lowest Applicable Version

Try degrading the UiPath.System.Activities and see if it is working fine

@jack.chan,

This could be result of incompatibility of Studio version and the Robot version. Try upgrading the Robot version to the Studio version and check.

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