NuGet/Home

restore does not support passing sources by name from the config file

Open

#5.849 geöffnet am 5. Sept. 2017

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (292 Forks)batch import
Functionality:RestorePriority:3Product:NuGet.exeType:Bughelp wanted

Repository-Metriken

Stars
 (1.459 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 464T 23h) (1 gemergte PR in 30 T)

Beschreibung

Details about Problem

NuGet product used : nuget.exe/maybe dotnet

NuGet version (x.x.x.xxx): 4.3.0

Worked before? If so, with which NuGet version: 3.4.4

Detailed repro steps so we can see the same problem

  1. dotnet new console

  2. create a new config file and add a new source to it with name source_name

  3. nuget restore -Source source_name

Expected

Restore should read the source from the config file

Actual

Restore treats the source as a relative path

Notes

More details at https://github.com/NuGet/Home/issues/5767

Contributor Guide