How to manage the Official Feeds by the customer? Is there a script that allows them to download the necessary Package with the JSON URL: https://www.myget.org/F/workflow/api/v3/index.json?
Script:
nuget.exe install UiPath.Excel.Activities -Version 2.12.3 -ConfigFile {path}/DownloadPackages\NuGet.config -OutputDirectory "C:\Marian\DownloadPackages\nuget" -Verbosity normal -NonInteractive
Note: Before running the script, 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 {path}\DownloadPackages\NuGet.config, use the https://www.myget.org/F/workflow/api/v3/index.json source feed.
- The path is normally C:\User\DownloadPackages\NuGet.config
- The NuGet.config should look like this:
<?xml version='1.0' encoding='utf-8'?>
<configuration>
<packageRestore>
<!--The 'enabled' key is True when the "Allow NuGet to download missing packages" checkbox is set. Clearing the box sets this to False, disabling command-line, automatic, and MSBuild-integrated restore.-->
<add key="enabled" value="True" />
<!--The 'automatic' key is set to True when the "Automatically check for missing packages during build in Visual Studio" checkbox is set. Clearing the box sets this to False and disables automatic restore.-->
<add key="automatic" value="True" />
</packageRestore>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
<packageSources>
<!--Provide all the NuGet package sources for this project-->
<!--More details can be found here: https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file#example-config-file-->;
<!--<add key="Local" value="C:\Users\windows_username\.nuget\packages\" />-->
<add key="MyGet" value="https://www.myget.org/F/workflow/api/v3/index.json" />
<add key="Marketplace" value="https://gallery.uipath.com/api/v2" />
<add key="UiPath Packages" value="https://packages.uipath.com/activities" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="UiPath Official" value="https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" />
<!--<add key="UiPath Signed Packages" value="https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" />-->
<!--<add key="My Private NuGet Server" value="http://myprivatenuget.com:8080/nuget" />-->
</packageSources>
<config>
<add key="signatureValidationMode" value="accept" />
</config>
<disabledPackageSources>
<!--<add key="nuget.org" value="true" />-->
</disabledPackageSources>
</configuration>