automation-ops
latest
false
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 Automation Ops

Automation CloudAutomation Cloud Public SectorAutomation Suite
Dernière mise à jour 20 déc. 2024

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

If you run into issues while using the UiPath CLI, consider the following troubleshooting scenarios.

Issue related to the .NET version

Description:

You may encounter issues with UiPath CLI tasks and pipeline operations if the correct version of the .NET framework is not installed (or missing) on your system.

When this issue occurs, you may come across error messages such as:

  • 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 :

You must ensure that you have the correct .NET version installed.
For the CLI and .NET version compatibility matrix, see the Prerequisites section.
  • Issue related to the .NET version

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
Confiance et sécurité
© 2005-2024 UiPath Tous droits réservés.