Error when pushing through git and azure

Hi,

we use a pipeline.yml to update our packages in Orchestrator. With a new flow we get an error that it fails. We tried a lot of different things but without any succes. This is the error we keep on getting. Can anybody help?

2024-05-22T14:29:49.2006579Z Unexpected error has occurred during the library compilation process:
2024-05-22T14:29:49.2009593Z CacheMetadata for activity ‘System.Activities.DynamicActivity, System.Activities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null’ threw 'System.TypeLoadException: Could not load type ‘System.Activities.TextExpressionBase1' from assembly 'UiPath.Workflow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null'. 2024-05-22T14:29:49.2010685Z at MD_FlexkidsHubApisLibrary.FlexkidsGetClusters_Name.GetImplementation() 2024-05-22T14:29:49.2011067Z at System.Activities.Activity.OnInternalCacheMetadata(Boolean createEmptyBindings) 2024-05-22T14:29:49.2011462Z at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors)
2024-05-22T14:29:49.2012068Z at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
2024-05-22T14:29:49.2012821Z at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) 2024-05-22T14:29:49.2013497Z at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
2024-05-22T14:29:49.2767216Z at System.Activities.XamlIntegration.TextExpressionCompiler.Parse()’.
2024-05-22T14:29:49.2782469Z Compilation failed or was cancelled.
2024-05-22T14:29:49.2895600Z Compilation failed or was cancelled.
2024-05-22T14:29:49.2916090Z Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors. Message : Compilation failed or was cancelled. Error : at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.PerformPrePackOperationsAsync(IWorkflowProjectModel projectModel, IPublishSettings settings)
2024-05-22T14:29:49.2917350Z at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.PrePackAsync(IPackagerHelperService packagerHelper, IWorkflowProject workflowProject, IPublishSettings publishSettings, IReadOnlyCollection1 dependencies) 2024-05-22T14:29:49.2918746Z at UiPath.Studio.ProjectPackager.Packager.Services.ProjectPackagerService.PackProjectExternal(String projectPath, UpdateProjectVersionEnum updateProjectVersion, PublishSettings publishSettings, IProgress1 progress, Action1 logEvent, List1 packageSources, String destinationFolder, CancellationToken cancellationToken)
2024-05-22T14:29:49.2922850Z Details…
2024-05-22T14:29:49.2923199Z Message: Error :
2024-05-22T14:29:49.2923656Z at UiPath.CommandLine.Services.Impl.PackService.PackProject(String projectPath, ProjectVersion currentVersion, String destinationFolder, PublishSettings settings)
2024-05-22T14:29:49.3250048Z ##[error]Error packaging project: Error: The process ‘C:\Program Files\dotnet\dotnet.exe’ failed with exit code 1
2024-05-22T14:29:49.3299191Z ##[section]Finishing: UiPathPack

@Dion,

Most possible reason would be incompatibility between Orchestrator version and the Studio version the package developed on.

Check the compatibility here.

Thanks,
Ashok :slight_smile:

I have this version of studio:

This version of Assistant:

image

That should work right?

@Dion,

This is compatible. Where is your Orchestrator hosted? What’s its version if not on UiPath Cloud.

Thanks,
Ashok :slight_smile:

We have it in the cloud.

Got it, needed to update the yml.

  • task: UiPathInstallPlatform@4
    inputs:
    cliVersion: ‘WIN_23.10.8753.32995’

@Dion,

Ok. In that case there could not be the issue of compatibility between Orchestrator and Package.

Let’s wait for other UiPath experts for their opinion on this.

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