I have a UiPath project that runs perfectly fine in Studio, but when I publish it to Orchestrator and try to run it through UiPath Assistant, I get the following error:
Could not load file or assembly 'UiPath.UIAutomationNext.Activities, Version=24.10.10.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
However, in my project.json, there is no dependency on UiPath.UIAutomationNext.Activities.
Here are my current dependencies:
UiPath.Excel.Activities = 2.24.4
UiPath.Form.Activities = 25.4.3
UiPath.PDF.Activities = 3.24.0
UiPath.System.Activities = 25.8.0
UiPath.Testing.Activities = 24.10.3
UiPath.UIAutomation.Activities = 24.10.10
UiPath.WebAPI.Activities = 2.0.0-preview
UiPathTeam.Barcode = 1.0.9
I already tried publishing the project again, but the error still occurs in Assistant.
Try to remove from your project the UiPathTeam.Barcode.1.0.9, test it in Studio, publish it from Studio to Orchestrator, and retry to run it.
Make sure that in your robot you are using as official feed this URL https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json in the Nuget.Config file in the Robot installation folder.
Note:
UiPathTeam.Barcode.1.0.9 is using UiPath.UIAutomation.Activities.21.10.5, which is also a not supported version of the package.