MarketplaceStudioConnectorUiPath Tasks for Azure DevOps

Create your first automation in just a few minutes.Try Studio Web

UiPath Tasks for Azure DevOps

UiPath Tasks for Azure DevOps

by UiPath

2

Connector

External Clicks

<100

Patrick Jungner
Posted 4 years ago

With the new support for .NET5 in UiPath I'm trying to upgrade our projects to use it. Unfortunately it fails when building in our pipeline.

- task: UiPathPack@2

  inputs:

versionType: ${{ parameters.versioningStrategy }}

projectJsonPath: '$(Build.SourcesDirectory)\${{ parameters.projectPath }}'

orchestratorConnection: ServiceConnection

outputPath: '$(Build.ArtifactStagingDirectory)\Output'

We get the following errors:

Could not find file 'c:\Agent\_work\_tool\uipcli\1.0.7985-19721\WindowsPlatformManifest.txt'

Could not find file 'c:\Agent\_work\_tool\uipcli\1.0.7985-19721\PlatformManifest.txt'

These files does not exists anywhere in the "_tools" or "_tasks" folders. I can find them in the UiPath Studio folder however so I've tried adding them into the path above. 

When doing this, the build will complete but the lib-folder in the NuGet package which should contain the .net5 version is empty.

Thomas Stocker
Posted 3 years ago ago

Hi Patrick,

right now the plugin does not support .net 5 projects. We are working on it and we expect a solution within the next 2 months.

Janis Krumins
Posted 4 years ago

Hello,

We are trying to set up TFS/ADOS Release Pipeline for Orchestrator 2021.10.0 and hope that TFS/ADOS Extension "UiPath Deploy" could help.

The problem is that we need to upgrade our existing 2019.10 Orchestrators, but our custom CI/CD pipeline we built for deployments is not working with Orchestrator 2021.10.

We have Build and Release pipelines with PowerShell tasks using UiPath PowerShell library (https://github.com/UiPath/orchestrator-powershell). These pipelines worked fine for years with Orchestrator versions 2018.10 up till 2021.4.2. 

After upgrading one Orchestrator instance to 2021.10 we found that NTLM Authentication does not work anymore. Basic Authentication did not work either with error "Get-UiPathAuthToken : Operation returned an invalid status code 'Unauthorized'"

This is when we found TFS extension https://marketplace.visualstudio.com/items?itemName=uipath.vsts-uipath-package and tried it out. UiPath Deploy task worked great with previous versions of the Orchestrators, but not with 2021.10.0.

We submitted tickets to UiPath Support (Case #01222655 API NTLM Authentication, and case #01225160 TFS/ADOS Extension "UiPath Deploy" task) but they could not help us, and suggested to post all our questions and problems on Marketplace and UiPath Forum. 

------------------------------------------------------------------------------

Logs examples below

------------------------------------------------------------------------------

Example 1. Success deploying to Orchestrator 2021.4.2 wtuipweb01, using service connection with Basic Authentication:

##[section]Starting: UiPath Deploy

==============================================================================

Task         : UiPath Deploy

Description  : Deploys a UiPath NuGet package onto UiPath Orchestrator.

Version      : 2.8.2121257

Author       : UiPath

Help         : 

==============================================================================

Found tool in cache: uipcli 1.0.7985-19721 x64

[command]E:\ADOS-Agents\ADRelease_2_1\_work\_tool\uipcli\1.0.7985-19721\x64\uipcli.exe run E:\ADOS-Agents\ADRelease_2_1\_work\_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\2.8.2121257\DeployOptions.json

Deploying package Util_Reboot.1.211115.57104 to tenant *** on https://wtuipweb01.corp.rgbk.com/...

Folder FeedId not supported with the current API version (12.0).

Deploying project(s) E:\ADOS-Agents\ADRelease_2_1\_work\r397\a\Util_Reboot\Drop\Util_Reboot.1.211115.57104.nupkg to https://wtuipweb01.corp.rgbk.com/ and tenant *** to Package feed.

Status: OK

Key: E:\ADOS-Agents\ADRelease_2_1\_work\r397\a\Util_Reboot\Drop\Util_Reboot.1.211115.57104.nupkg

Body: {"Id":"Util_Reboot","Version":"1.211115.57104"}

Process will be deployed in classic folder.

No process exists for this package in the environment. Will create Util_Reboot_VDI.

Process with id 137, key bc13576b-f14f-4374-b661-9b810058fc4b and name Util_Reboot_VDI has been created

Deployed Util_Reboot v1.211115.57104 to environments VDI in folder ***.

##[section]Finishing: UiPath Deploy

------------------------------------------------------------------------------

Example 2: Error deploying to Orchestrator 2021.10.0 wquipweb01, using service connection with Basic Authentication:

##[section]Starting: UiPath Deploy

==============================================================================

Task         : UiPath Deploy

Description  : Deploys a UiPath NuGet package onto UiPath Orchestrator.

Version      : 2.8.2121257

Author       : UiPath

Help         : 

==============================================================================

Found tool in cache: uipcli 1.0.7985-19721 x64

[command]E:\ADOS-Agents\ADRelease_3_1\_work\_tool\uipcli\1.0.7985-19721\x64\uipcli.exe run E:\ADOS-Agents\ADRelease_3_1\_work\_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\2.8.2121257\DeployOptions.json

Failed to run the command. Could not connect to Orchestrator: https://wquipweb01.corp.rgbk.com/ , Tenant: ***, Username: ***, Password: ***, OrganizationUnit: ***, UseWindowsCredentials: False.

Please make sure that the provided URL (https://wquipweb01.corp.rgbk.com/) is correct, available from your build agent, and not blocked by a firewall.

If the Orchestrator is using a self-signed SSL certificate, make sure that the build agent trusts it. Ensure that all the steps at https://docs.uipath.com/orchestrator/docs/self-signed-certificates were correctly followed when creating the certificate.

Stack trace:

   at UiPath.CommandLine.Clients.OrchestratorClientFactory.c__DisplayClass5_0.<g__HandleBuild|8>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Clients.OrchestratorClientFactory.d__5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Services.Impl.DeployService.d__3.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Services.Impl.OptionsParser.c__DisplayClass7_0.<b__0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at UiPath.CommandLine.Services.Impl.OptionsParser.d__6.MoveNext()

System.InvalidOperationException: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Unauthorized'

   at UiPath.Web.Client18_4.Account.d__5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.OrchestratorClientFactory.c__DisplayClass6_2.<b__2>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.Util.ExceptionsHandler.d__1`1.MoveNext()

    

    

    

    

    Unauthorized (401)

------------------------------------------------------------------------------

Example 3. Error deploying to Orchestrator 2021.10.0 wquipweb01, using service connection with External Application Authentication:

##[section]Starting: UiPath Deploy

==============================================================================

Task         : UiPath Deploy

Description  : Deploys a UiPath NuGet package onto UiPath Orchestrator.

Version      : 2.8.2121257

Author       : UiPath

Help         : 

==============================================================================

Found tool in cache: uipcli 1.0.7985-19721 x64

[command]E:\ADOS-Agents\ADRelease_2_1\_work\_tool\uipcli\1.0.7985-19721\x64\uipcli.exe run E:\ADOS-Agents\ADRelease_2_1\_work\_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\2.8.2121257\DeployOptions.json

Failed to run the command. Could not connect to Cloud Orchestrator: https://wquipweb01.corp.rgbk.com/, Account Name For App: ***, Application Id: ***, Application Scope(s): ***, Tenant: ***, Organization Unit: ***.

Please make sure that the provided URL (https://wquipweb01.corp.rgbk.com/) is correct, available from your build agent, and not blocked by a firewall.

If the Orchestrator is using a self-signed SSL certificate, make sure that the build agent trusts it. Ensure that all the steps at https://docs.uipath.com/orchestrator/docs/self-signed-certificates were correctly followed when creating the certificate.

Stack trace:

   at UiPath.CommandLine.Clients.OrchestratorClientFactory.c__DisplayClass5_0.<g__HandleBuild|8>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Clients.OrchestratorClientFactory.d__5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Services.Impl.DeployService.d__3.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Services.Impl.OptionsParser.c__DisplayClass7_0.<b__0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at UiPath.CommandLine.Services.Impl.OptionsParser.d__6.MoveNext()

Microsoft.Rest.HttpOperationException: Operation returned an invalid status code MethodNotAllowed

   at UiPath.Orchestrator.Client.Util.UiPathWebApiExtensions.d__0.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.Util.AuthenticatedClient.d__28.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.Util.AuthenticatedClient.d__29`1.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.OrchestratorClientFactory.d__8.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.Orchestrator.Client.OrchestratorClientFactory.d__5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at UiPath.CommandLine.Clients.OrchestratorClientFactory.c__DisplayClass5_0.<g__HandleBuild|8>d.MoveNext()

##[error]Error deploying package: Error: The process 'E:\ADOS-Agents\ADRelease_2_1\_work\_tool\uipcli\1.0.7985-19721\x64\uipcli.exe' failed with exit code 1.

##[section]Finishing: UiPath Deploy

------------------------------------------------------------------------------

Notes:

- Orchestrators, TFS server and TFS Agents are all on prem. 

- All SSL certificates are issued by trusted authority.

- Server wquipweb01 is behind a load balancer with name "uipath-qa". It is planned to use this server in High Availability mode later, but right now it is a single node Orchestrator.

- Local account used for Basic Authentication can be used to login the Orchestrator (both wtuipweb01 and wquipweb01), belongs to Administrator role, and assigned to Default folder.

- In these examples the same NUGET package with the same version is being deployed. Before deployment, the process is deleted on Orchestrator and all inactive packages are removed.

- For task #2 there was event in Application Log, with 40 seconds delay:

 IdentityServer4.Events.DefaultEventService {"ClientId":"6654e78d-8490-4abe-9c40-d28267c89f3a", "ClientName":"Portal.OpenId", "RedirectUri":"https:\/\/uipath-qa\/identity\/management\/callback", "Endpoint":"Authorize", "SubjectId":"0aef2dc9-2585-4a1c-8f36-55f0baffc7e8", "Scopes":"openid profile email IdentityServerApi", "GrantType":"implicit", "Tokens":[{"TokenType":"id_token", "TokenValue":"****tG0Q"},{"TokenType":"access_token", "TokenValue":"****nazw"}], "Category":"Token", "Name":"Token Issued Success", "EventType":"Success", "Id":2000, "ActivityId":"80004ad3-0001-fa00-b63f-84710c7967bb", "TimeStamp":"2021-12-03T00:59:44Z", "ProcessId":5488, "LocalIpAddress":"10.165.106.145:443", "RemoteIpAddress":"10.127.14.82"}

- For task #3 there were no events in Application Event Log within 1+minute of the task running

- There is a recurrent message in Application Event Log every 5 minutes:

IdentityServer4.ResponseHandling.AuthorizeInteractionResponseGenerator Showing login: User is not authenticated

- We analzed Orchestrator queries with SQL Profiler and found nothing suspicious.

Please advise.

Thomas Stocker
Posted 3 years ago ago

Hi Jannis,

as we already debugged the issue and you confirmed that it works now I guess this thread can be closed?

Alex Galbutdinov
Posted 4 years ago

Hi, I am using this package to deploy packages on the Orchestrator. I faces a error when I am using an External Application connection for deployment. 

Error:

2021-11-29T12:48:15.2412935Z [command]C:\hostedtoolcache\windows\uipcli\1.0.7985-19721\x64\uipcli.exe run D:\a\_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\2.8.2121257\DeployOptions.json

2021-11-29T12:48:18.3971794Z Failed to run the command. Could not connect to Orchestrator: https://platform.uipath.com/ , Tenant: ***, Username: ***, Password: ***, OrganizationUnit: Document Understanding, UseWindowsCredentials: False.

2021-11-29T12:48:18.3974057Z Please make sure that the provided URL (https://platform.uipath.com/) is correct, available from your build agent, and not blocked by a firewall.

2021-11-29T12:48:18.4377926Z ##[error]Error deploying package: Error: The process 'C:\hostedtoolcache\windows\uipcli\1.0.7985-19721\x64\uipcli.exe' failed with exit code 1.

It looks like I don't have rights to deploy packages. If i'am using api connections it works without issues. Any idea what i do wrong?

Thomas Stocker
Posted 3 years ago ago

Hi Alex,

the message you posted does not include the call stack.

We had an issue recently that also resulted in this message with the following message within the call stack:

"System.UriFormatException: Invalid URI: The URI is empty."

If you had the same error message I would assume that the issue has been solved with our latest release 2.9.1.

If your situation is different pls provide the entrie output log and details on your service connection.

Jonathan Bloodworth
Posted 4 years ago

Hi,

Been using the extension for a few months and all was going well until last week, we've recently been seeing "conflicts" during deployments which is causing issues on our end. No changes made on our end and we're using the latest version of the extension.

System.InvalidOperationException: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Conflict'

{"message":"The name xxxxx is already used.","errorCode":1001,"resourceIds":null}

{"message":"Package already exists.","errorCode":1004,"resourceIds":null}

Happy to discuss further if you need any more details.

Thomas Stocker
Posted 3 years ago ago

Jonathan,

thx for reaching out.

Might it be that you try to deploy the very same package with the same verison several times?

We only allow to deploy a package with a certain package number once.

To avoid such issue pls use a dedicated versioning mechanism for your deploy step.

We offer several ones ootb.

If you problem does not seem to be related to deploying the same version could you pls provide further details including the yaml and the entire output log?

BR

Pawel Trojanski
Posted 4 years ago

Hi,

When runnning 'UiPath Pack' task, I'm getting this error:

```

Compiling...

The following invoked workflows are missing:

D:\a\1\s\QueueItems\BuildCommentsString.xaml

Called from the following workflows:

D:\a\1\s\QueueItems\Convert QueueItems to DataTable.xaml

```

It happens for libraries, if both workflows are marked as non-publishable. If I marked the invoked workflow as publishable, everything works. It happens in the version 2.7.1993735, however it used to work in version 2.4.1786427

Thomas Stocker
Posted 3 years ago ago

Pawel, thx for sharing.

This might be related to a change we have implemented for packing/deploying. We would suggest to simply mark them as publishable to avoid the problem.

If this is not duable for you, pls let us know, so that we can further discuss.

Vijayakumar KJ
Posted 4 years ago

Hi,

I want to add Value per Robot type assets in Orchestrator. Does - task: UiPathAssets@2 will support this type?

Can you share an example for this?

Thank you

VJ

Thomas Stocker
Posted 3 years ago ago

Vijay,

we currently support 4 types of assets with our plugin:

text, integer, boolean and credential

In order to deploy assets, you must describe them in a CSV file encoded in UTF-8 and provide the path to that file.

The file looks something like this:

name,type,value, description

someAssetname, text, "hello world", some description

David Jonsson
Posted 4 years ago

hi,

when I try to run:_- task: UiPathInstallPlatform-preview@2_

I get this on a virgin OS with a registered and and working Build Agent:

##[error]No agent found in pool uipath which satisfies the specified demands: npm, Agent.Version -gtVersion 2.163.1

==

EDIT: installing Node help me (as it includes "npm")

https://nodejs.org/en/download/

@uiPah => "npm" should be listed as a pre-req to tun the Azure pipeline integration with uiPath.

The Node install adds a whole lot of stuff we probably don't need (python, vcredist14, VSBuildTools, NuGetScratch)

==

My pipelines runs fine on my local Windows 10 PC

I then,

added a 2nd Build Agent in Azure (Windows 2019 Server) it fails.

added a 3rd Build Agent in Azure (Windows 10 Pro) it fails.

##[error]No agent found in pool uipath which satisfies the specified demands: npm, Agent.Version -gtVersion 2.163.1

This simple Yaml (below) = Builds OK

_# This works fine_

trigger:

- master

pool: uipath

steps:

- script: echo Hello, world!

_# But, when adding this next line to install the uiPath CLI - I get the error._

_#- task: UiPathInstallPlatform-preview@2_

I’ve tried running the Build Agent as my self (Admin) as a Service “NT Authority\System”. Same issue

There seems to be something missing in the pre-req.

Azure powershell?

.NET Core?

I can't find any pre-reqs here:

https://marketplace.visualstudio.com/items?itemName=uipath.vsts-uipath-package

but I bet I have something deployed to my PC that is missing on a vanilla OS in my Azure Agent

Allen Hackworth
Posted 4 years ago

We're running Orchestrator 20.4. We have the latest version of the UiPath Integration extention installed, 2.6.1872849. We hadn't run any of our pipelines for several months and now they are failing. We have added the new required parameter, entryPointPaths, with the default value. The package gets deployed to Orchestrator but the task fails immediately after. 

Also, the github repo referenced from the DevOps marketplace doesn't exist so there is no way for me to look at what might be happening.

Here's a slightly modified log:

Found tool in cache: uipcli 1.0.7915-25240 x64

D:\path_to_cli\uipcli.exe run D:\path_to_options\DeployOptions.json

Deploying package packagenameandver to tenant *** on https://orchestratorurl/...

Folder FeedId not supported with the current API version (10.0).

Deploying project(s) D:\droppath\botnameandver.nupkg to https://orchestratorurl/ and tenant *** to Package feed.

Status: OK

Key: D:\droppath\botnameandver.nupkg

Body: {"Id":"BotName","Version":"1.0.86818060"}

Process will be deployed in classic folder.

Update processes with names BotName_Prod Unattended to latest version.

Update processes with names BotName_Prod Unattended to latest version.

AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping.

Thomas Stocker
Posted 3 years ago ago

Allen,

we have menawhile released version 2.9.1.

Is the issue this persistent or fixed?

If not, pls reach out on thomas.stocker@uipath.com

Rohan Tiwarri
Posted 4 years ago

Azure devops pipeline in has stopped working since last two days.

UiPath Pack task is failing as it is looking for C:\agent\_work\_tool\uipcli\1.0.7909-28149 whereas the uipcli version i have in the agent is '1.0.7881-13724' 

please let me know how can we update the version for uipcli.exe and how can we make sure that it is updated automatically?

Thomas Stocker
Posted 3 years ago ago

Rohan,

the plugin should update automatically. 

Pls let me know...

* if you are still facing the issue

* if you are using the plugin or the plain CLI

...

vinod vanga
Posted 4 years ago

Is it possible to create process in Orchestrator as part of  Azure pipeline(uipath packages) deployments? If yes could you please help me with the steps.

Thanks in advance

Thomas Stocker
Posted 3 years ago ago

Vinod,

we already automatically create a process on deploy and if there is a process, we will update the package to the latest one.

If this is not the case on your side, pls let me know.

Aaron Tank
Posted 4 years ago

The latest update, 2.4, has broken my pipelines that publish my library project. I cannot find anyway to specify that the UiPathPack activity runs with an earlier, working version - is there a way to do this?

My pipeline ran fine last week with v2.3.1504174 but as of today, it has started using v2.4.1786427 and is failing at the same point every time. I've gone so far as to roll back all changes I've made since the last succesful pipeline run to make sure it's not something I've done, with no result.

I am getting the below error, that "An item with the same key has already been added," however that key only appears once in the entire verbose log.

=======================

2021-08-09T18:36:36.9444980Z uipcli.exe Information: 0 : INITIALIZATION: Loaded dependency assembly 'C:\Users\VssAdministrator\.nuget\packages\zxing.net/0.16.4\lib/net461/zxing.presentation.dll'.
2021-08-09T18:36:36.9445620Z uipcli.exe Information: 0 : INITIALIZATION: Loaded dependency assembly 'D:\a\_temp\vib7ynl0q\lib\net461\UiPath.Activities.Contracts.dll'.
2021-08-09T18:36:36.9446165Z uipcli.exe Error: 0 : Unexpected error has occurred during the library compilation process:
2021-08-09T18:36:36.9446605Z An item with the same key has already been added.
2021-08-09T18:36:36.9447044Z Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors.
2021-08-09T18:36:36.9447532Z    at UiPath.CommandLine.Services.Impl.PackService.d__12.MoveNext()
2021-08-09T18:36:36.9449007Z
2021-08-09T18:36:36.9489672Z ##[error]Error packaging project: Error: The process 'D:\a\_temp\vib7ynl0q\lib\net461\uipcli.exe' failed with exit code 1
2021-08-09T18:36:36.9553264Z ##[section]Finishing: UiPathPack

========================

Any suggestions about what I can do to fix or workaround this error would be great - I've got many projects that are currenlty waiting on updates to this library!

Thomas Stocker
Posted 4 years ago ago

Hi Aron,

thx for reaching out. ADO is updating plugins automatically and I dont think there is a way to step back to an earlier version. Therefore lets focus on the problem and try to solve it with the current version. Pls reach out to me via mail (thomas.stocker@uipath.com) so that we can setup a zoom chat to discuss.

Richard Praschma
Posted 4 years ago

Hi UiPath,

we are having trouble building libraries using the current version of the UiPath.System.Activities package in combination with the AzureDevOps integration.

Using UiPath.System.Activities V21.4.1 we get in the UiPathPack task the following error:

COMPILER: Loading assembly by name: 'UiPath.System.Activities' failed. Please check you have all project nuget dependencies resolved and you don't have unused namespaces.

Unable to create activity builder for XXX.xaml. Reason was 'Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}RetryScope'.'.

We have no problem if we downgrade the project dependency to UiPath.System.Activities V20.10.4.

Looking at the release date of V21.4.1 and the last update of the UiPathIntegration in AzureDevOps, I assume that the UiPath Integration in AzureDevops needs a small update.

Can you please look into this and update if necessary.

Thank you

Richard

Thomas Stocker
Posted 4 years ago ago

Richard,

we have released a new version a few days ago. Could you check if the problem still persisits?

Publisher

UiPath

Visit publisher's page

Trusted Source

License & Privacy

License Agreement

Privacy Terms

Technical

Updated

December 20, 2021

Works with

Studio: 20.4 - 22.10

Application

Microsoft Azure

Support

Link: https://www.uipath.com/company/contact-us/contact-technical-support

UiPath Standard Support, see your Service Agreement.

Resources