UiPath Documentation
robot
2026.10
false
Guide de l’administrateur du Robot

Configurer des flux d’activité

Configurez les flux d'activités NuGet.config pour les robots en mode service et en mode utilisateur afin de spécifier les sources de packages pour les activités d'automatisation.

Les robots en mode service et en mode utilisateur utilisent des fichiers NuGet.config différents.

Un robot installé en mode utilisateur a deux fichiers NuGet.config : l’un dans le dossier d’installation et l’autre dans le dossier du profil utilisateur (%AppData%\NuGet\NuGet.config).

Un robot installé en mode service utilise le fichier NuGet.config du dossier d’installation.

The installation folder is %ProgramFiles%\UiPathPlatform\Robot\<version> for a per-machine installation, or %LocalAppData%\Programs\UiPathPlatform\Robot\<version> for a per-user installation. Its NuGet.config file lists the feeds that the installer adds: Local, which points to the Packages folder of Studio if the same version of Studio is installed and to ./Packages otherwise, and Executors, which points to ./Executors. The installer can add other feeds too. The Robot uses the Executors feed to run agents, functions, and API workflows. If you remove it, the Robot falls back to the Executors folder in the installation folder, but if the file can't be read, the Robot stops reporting agents, functions, and API workflows. To add feeds at install time, use the CUSTOM_NUGET_FEEDS parameter of a silent installation.

Pour ajouter ou supprimer des flux d’activité, mettez à jour tout fichier NuGet.config, comme suit :

  1. Open the NuGet.config file with a text editor, such as Notepad++.
  2. Pour ajouter un nouveau flux d’activité, dans la section <packageSources>, ajoutez un nouvel élément <add/> et indiquez le nom au format key et l’adresse du flux au format value :
    <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <add key="Online Feed" value="https://mycustomfeed.com" />
        <add key="Local Feed" value="C:\local feed" />
    </packageSources>
    <packageSources>
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
        <add key="Online Feed" value="https://mycustomfeed.com" />
        <add key="Local Feed" value="C:\local feed" />
    </packageSources>
    
    Remarque :
    • Vous pouvez ajouter des flux locaux et en ligne.

    • To ignore feeds served over HTTP or HTTPS from NuGet.config, add the following line in UiPath.config, under <packageSettings>:

      <add key="skipHttpConfigurationSources" value="true" />
      <add key="skipHttpConfigurationSources" value="true" />
      
  3. Pour supprimer un flux d’activité, supprimez la balise <add/> correspondante.
  4. Enregistrez le fichier NuGet.config, puis redémarrez le service de robot UiPath ou l'appareil.

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

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour