In my company, NuGet packages are coming from different sources:
- nuget.org (http://api.nuget.org/v3/index.json)
- Microsoft Visual Studio Offline Packages (C:\Program files (x86)...\NuGetPackages)
- Company_NuGetFeet@local (https://Company.pkgs.visualstudio.com/_packages/.../nuget/v2)
- Supervision (some http://10.1.3.xxx/nuget site)
When I start up Visual Studio, I get logged in automatically (at the above right corner, I can see my login settings).
I have access to some NuGet packages and there are some where I don't have access to:
- Company.Something.UA : OK
- ControlzEx : OK
- DevExpress.Chartsv18.2_Core : NOK
I have been doing NuGet restore
in lots of ways: normal commandline, developer prompt, using the standard NuGet.exe, using the latest NuGet.exe, from within the company network, from outside the company network, ..., it does not make any difference.
In order to pinpoint the problem, I was thinking of restoring a single NuGet package, which should come from one specific package source, but what is that source?
When checking the properties of NuGet packages (being OK or not), the package source is not mentioned.
So I would like to do:
NuGet.exe restore DevExpress.Chartsv18.2_Core DevExpress..._Core_Package_Source
- How can I do that?
- How can I know from which package source I need to download a specific NuGet package?