When the build process fail because NuGet is not able to restore some packages there is no way to be sure which source it was. Typical message is "Unable to connect to the remote server". The message miss the name of the source (or better the source location). This is a real pain when using more than one package source (we use the nuget official feed and an internal repository).
The datail found in the build log (verbosity normal) doesn't include the source name either. However you can see from the log the two sources we use but there is no way to know wich one caused the problem:
Built $/ProjectName/Src/.nuget/nuget.targets for target(s) _DownloadNuGet.
F:\Builds\1\...\Sources\.nuget
uget.targets (85): Unable to connect to the remote server
F:\Builds\1\...\Sources\.nuget
uget.targets (85): The command ""F:\Builds\1\...\Sources\.nuget
uget.exe" install "F:\Builds\1\...\packages.config" -source "https://nuget.org/api/v2/;\\DevServer\Packages" -RequireConsent -solutionDir "F:\Builds\1\...)\Sources\ "" exited with code 1.
The datail found in the build log (verbosity normal) doesn't include the source name either. However you can see from the log the two sources we use but there is no way to know wich one caused the problem:
Built $/ProjectName/Src/.nuget/nuget.targets for target(s) _DownloadNuGet.
F:\Builds\1\...\Sources\.nuget
uget.targets (85): Unable to connect to the remote server
F:\Builds\1\...\Sources\.nuget
uget.targets (85): The command ""F:\Builds\1\...\Sources\.nuget
uget.exe" install "F:\Builds\1\...\packages.config" -source "https://nuget.org/api/v2/;\\DevServer\Packages" -RequireConsent -solutionDir "F:\Builds\1\...)\Sources\ "" exited with code 1.