UiPath Documentation
robot
latest
false
Robot admin guide

Configuring activity feeds

Configure NuGet.config activity feeds for Service Mode and User Mode robots to specify package sources for automation activities.

Service Mode and User Mode robots use different NuGet.config files.

A robot installed in User Mode has two NuGet.config files: one in the installation folder, and one in the user profile folder (%AppData%\NuGet\NuGet.config).

A robot installed in Service Mode uses the NuGet.config file from the installation folder.

To add or remove activity feeds, update any NuGet.config file, as follows:

  1. Open the NuGet.config file with a text editor, such as Notepad++.
  2. To add a new activity feed, in the <packageSources> section, add a new <add/> element, and provide the name as key, and the feed address as 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>
    
    Note:
    • You can add both local and online feeds.

    • 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. To remove an activity feed, delete the corresponding <add/> tag.
  4. Save the NuGet.config file, then restart the Robot service or the device.

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. Save the NuGet.config file, then restart the Robot service or the device.

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

  • Restricting feeds to specific sources​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated