Can you please try and compare this file from your development machine, with the one on your production machine?
C:\Program Files\UiPath\Studio\NuGet.config
If the 2 files differ, then please try this:
Take a backup of the file on your production machine
Replace the file on your production machine with the file from your development machine
Please let me know if it helps.
I have created a case at UiPath Customer Support about this NuGet.config file that doesn’t get updated automatically when updating Studio.
The case got declined as a single problem, but we are seeing it more and more.
The NuGet.config file contains URL for package sources.
Generally the packages could not be downloaded if there are any firewall blocks check if there is any policy change and revert it or disable
Also sometimes this might be triggered due to the robot upgrades
Alternately for a immediate resolution we can copy the .nuget folder or required package folder from dev machine to the target machine. Location is C:\users\username\.nuget
Thank you everyone for your suggestions, as you all said it worked by replacing the NuGet file. It was strange that it started happening in the first place, however now I have a workaround in case it happens again.
Can you please clarify if you replaced the NuGet.config file like I suggested?
Or if you copied the NuGet file for the library as @ashokkarale suggested?
The suggested actions are not the same.
Just so others who might find this post knows what to do