Hello Everyone,
I am trying to use uipcli.exe in the context of our CICD pipeline, however it seems to me that the tool has defined built in NuGet package sources. In our Organization, all NuGet feeds are only accessible via proxy and can not be used directly. These circumstances lead to very long execution times when building with uipcli.exe, because all baked in feeds get tried and fail, before the CLI gets to the feeds defined by our organization.
The process output looks like this:
D:\Program Files\UiPath\uipath.cli.windows.23.2.8467.25277>uipcli.exe package pack D:\CICD-Tests\project.json -o D:\Temp
Packing project(s) at path D:\CICD-Tests\project.json...
Detected schema version 4.0
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'D:\Program Files\UiPath\Packages' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
uipcli Warning: 0 : NU1801: The local source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.
I have tried placing the following NuGet.config file next to the application to override the feeds defined by uipcli, but with no luck:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="Our-Org-Feed" value="Our-Org-Feed Address" />
</packageSources>
<config>
<add key="signatureValidationMode" value="accept" />
</config>
</configuration>
Is there a possibility to ditch the sources defined by uipcli.exe and go straight to our custom feed?
Many thanks in advance.
Adrian