cicd-integrations
2024.10
true
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Guide de l'utilisateur des intégrations CI/CD

Dernière mise à jour 4 juil. 2025

Résolution des problèmes d'interface en ligne de commande UiPath

Si vous rencontrez des problèmes lors de votre utilisation de la CLI UiPath, envisagez les scénarios de résolution de problèmes suivants.

Problèmes liés à la version .NET

Description:

Vous pouvez rencontrer des problèmes avec les tâches CLI UiPath et les opérations de pipeline si la bonne version de l'infrastructure .NET n'est pas installée (ou est manquante) sur votre système.

Lorsque ce problème se produit, vous pouvez rencontrer des messages d’erreur tels que :

  • You must install or update .NET to run this application.
    App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe
    Architecture: x64
    Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
    .NET location: C:\Program Files\dotnet
    The following frameworks were found:
    8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]You must install or update .NET to run this application.
    App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe
    Architecture: x64
    Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
    .NET location: C:\Program Files\dotnet
    The following frameworks were found:
    8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  • An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors.
    Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified.
    Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors.
    Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified.
    Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

Solution :

Vous devez vous assurer que la bonne version .NET est installée.
Pour la matrice de compatibilité des versions CLI et .NET , reportez-vous à la section Prérequis .

Problèmes liés au caractère spécial dans les mots de passe de la chaîne de connexion

Dans la plupart des cas, les mots de passe de connexion sont encapsulés par un guillemet unique ('). Cependant, lorsque le mot de passe inclut des caractères spéciaux tels que ` ou $, il est nécessaire de procéder différemment.
Dans ces cas, le mot de passe doit être formaté en tant que \`"<password>\`", en remplaçant <password> par le mot de passe réel. De plus, vous devez également respecter les règles d’échappement comme détaillé dans la table suivante :

Format d’origine dans ADuC

Format échappé dans la chaîne PowerShell

cn=James $ Smith

"cn=James `$ Smith"

cn=Sally Wilson + Jones

"cn=Sally Wilson \+ Jones"

cn=William O'Brian

"cn=William O'Brian"

cn=William O`Brian

"cn=William O``Brian"

cn=Richard #West

"cn=Richard #West"

cn=Roy Johnson$

"cn=Roy Johnson$"

Exemple :

Supposons que le mot de passe d’origine est 7'8:<=XMe$y[@vC?_4ZeY8c-~y'W!1dU4gnczuf'/p>j<I. En respectant les règles d’échappement des caractères spéciaux, elle devient : Password=\`"7'8:<=XMe`$y[@vC?_4ZeY8c-~y'W!1dU4```gnczuf'/p>```j<I\`".

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo
Confiance et sécurité
© 2005-2025 UiPath Tous droits réservés.