Converted a Project from Legacy to windows - Not running in test or prod Uipath.platform issue

Hi All,

I have converted a project from legacy to windows and updated the packages to 22.10.Xx its working fine in my local but not it test. Getting the below error. Job is getting faulted.

We are using 22.10.3 in prod and test and my studio version is 23.4.5

There are my project dependencies:“UiPath.Excel.Activities”: “[2.22.3]”,
“UiPath.Mail.Activities”: “[1.24.1]”,
“UiPath.System.Activities”: “[22.10.8]”,
“UiPath.UIAutomation.Activities”: “[22.10.10]”
Error:
: Could not load file or assembly ‘UiPath.Platform, Version=24.11.1.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.

RemoteException wrapping System.IO.FileNotFoundException: Could not load file or assembly ‘UiPath.Platform, Version=24.11.1.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
at OCT_GAP_Claim_Setup_Dispatcher.Framework.TakeScreenshot.GetImplementation()
at System.Activities.Activity.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager) at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager) at System.Activities.WorkflowApplication.EnsureInitialized() at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push) at System.Activities.WorkflowApplication.WaitForTurnAsync(InstanceOperation operation, Boolean push, TimeSpan timeout, Action2 callback, Object state)
at System.Activities.WorkflowApplication.WaitForTurnAsync(InstanceOperation operation, TimeSpan timeout, Action`2 callback, Object state)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.RunAsyncResult.Create(WorkflowApplication instance, Boolean isUserRun, TimeSpan timeout, AsyncCallback callback, Object state)
at System.Activities.WorkflowApplication.BeginInternalRun(TimeSpan timeout, Boolean isUserRun, AsyncCallback callback, Object state)
at System.Activities.WorkflowApplication.BeginRun(TimeSpan timeout, AsyncCallback callback, Object state)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.InProcessRunner.<>c__DisplayClass6_0.g__StartWorkflow|1()
at UiPath.Executor.InProcessRunner.BeginExecute(AsyncCallback callback, Object state)
at UiPath.Core.Activities.ExecutorInvokeActivity.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Hi,

It seems Mail pack 1.24.1 requires UiPath platform 24.11.1. If you can downgrade Mail pack, v1.18.1 is better because UiPath 22.10.3 has it as default.

Or prod/test robot doesn’t have information for current official package feed.

https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json

The following document helps you if you want to add URL of package feed.

Regards,

1 Like