How to download Official packages from Command line ?
The following command is an example to download UiPath.Excel.Activities -Version 2.23.4 This has to be executed on CMD
Command:
nuget.exe install UiPath.Excel.Activities -Version 2.23.4 -ConfigFile "path1 where Nuget.config exists"
-OutputDirectory "path2 where the package and its sub dependencies are to be downloaded" -Verbosity normal -NonInteractive
Eg for path1: C:\Test1\Nuget.config
Eg for path2: C:\Test2
Note: Before running the command, install the nuget.exe CLI and perform the following changes,
- Install the nuget.exe CLI by downloading it from https://www.nuget.org/downloads
- In the NuGet.config file, use Official feed as https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json
- The NuGet.config should look like this:
<?xml version='1.0' encoding='utf-8'?>
;