- About this guide
- Getting started
- Installing
- Upgrading
- Connecting and licensing
- Configuring
- Running workloads
- RPA processes and tests
- Agents, functions, and API workflows
- Limits
- Securing and governing
- Monitoring
- Troubleshooting
- Reference
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.
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.
To add or remove activity feeds, update any NuGet.config file, as follows:
- Open the
NuGet.configfile with a text editor, such as Notepad++. - To add a new activity feed, in the
<packageSources>section, add a new<add/>element, and provide the name askey, and the feed address asvalue:<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 feeds served over HTTP or HTTPS from
NuGet.config, add the following line inUiPath.config, under<packageSettings>:<add key="skipHttpConfigurationSources" value="true" /><add key="skipHttpConfigurationSources" value="true" />
-
- To remove an activity feed, delete the corresponding
<add/>tag. - Save the
NuGet.configfile, then restart the Robot service or the device.