automation-ops
LATEST
false
UiPath logo, featuring letters U and I in white

Guide de l'utilisateur Automation Ops

Dernière mise à jour 31 mars 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ème lié à 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.
For the CLI and .NET version compatibility matrix, refer to the Prerequisites section.

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 White