UiPath Documentation
robot
2024.10
false
Robot-Administratorhandbuch
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Konfigurieren von Aktivitätsfeeds

NuGet.config-Dateispeicherorte und Anweisungen zum Hinzufügen oder Entfernen von Aktivitätsfeeds für Roboter im Servicemodus und Benutzermodus.

Roboter im Servicemodus und im Benutzermodus verwenden unterschiedliche NuGet.config-Dateien.

Ein Roboter, der im Benutzermodus installiert wurde, hat zwei NuGet.config-Dateien: eine im Installationsordner und eine im Benutzerprofilordner (%AppData%\NuGet\NuGet.config).

Ein im Dienstmodus installierter Roboter verwendet die NuGet.config-Datei aus dem Installationsordner.

Um Aktivitätsfeeds hinzuzufügen oder zu entfernen, aktualisieren Sie eine NuGet.config-Datei wie folgt:

  1. Open the NuGet.config file with a text editor, such as Notepad++.

  2. Um einen neuen Aktivitätsfeed hinzuzufügen, fügen Sie im Abschnitt <packageSources> ein neues <add/>-Element hinzu und geben Sie den Namen als key und die Feed-Adresse als value an:

    <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>
    
    Hinweis:
    • Sie können sowohl lokale als auch Online-Feeds hinzufügen.
    • 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. Um einen Aktivitätsfeed zu entfernen, löschen Sie das entsprechende <add/>-Tag.

  4. Speichern Sie die Datei NuGet.config und starten Sie dann den Roboterdienst oder das Gerät neu.

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. Speichern Sie die Datei NuGet.config und starten Sie dann den Roboterdienst oder das Gerät neu.

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

  • Restricting feeds to specific sources​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben