UiPath Documentation
robot
2024.10
false
Guide de l’administrateur du Robot
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Configurer des flux d’activité

Emplacements du fichier NuGet.config et instructions pour ajouter ou supprimer des flux d'activité pour les robots en mode service et en mode utilisateur.

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.

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 HTTP and HTTPS feeds from NuGet.config, add the following line in UiPath.config, under <packageSettings>:
    <add key="skipHttpConfigurationSources" value="true" />
    <add key="skipHttpConfigurationSources" value="true" />
    

    Local and UNC folder sources still work, along with the Orchestrator feed, which the Robot adds at runtime instead of reading it from NuGet.config.

  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.

Restricting feeds to specific sources​

To drop feeds merged in from the user or machine level and keep only the sources you choose, clear the inherited sources in the Robot installation folder's NuGet.config file before re-adding the ones you want. This file is the highest-priority layer, so changes here take precedence over the NuGet.config files from %AppData% and %ProgramData%.

  1. Open the NuGet.config file in the Robot installation folder.
  2. In the <packageSources> section, add <clear /> as the first element. This discards the sources inherited from %AppData% and %ProgramData%.
  3. Re-add only the sources you want, for example Local, Official, and Nexus.
  4. Leave skipHttpConfigurationSources set to false.
  5. Enregistrez le fichier NuGet.config, puis redémarrez le service de robot UiPath ou l'appareil.

For automated installs, apply these changes as a post-install step that overwrites NuGet.config.

  • Restricting feeds to specific sources​

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