NuGet/Home
View on GitHubrestore does not support passing sources by name from the config file
Open
#5,849 opened on Sep 5, 2017
Functionality:RestorePriority:3Product:NuGet.exeType:Bughelp wanted
Repository metrics
- Stars
- (1,459 stars)
- PR merge metrics
- (Avg merge 464d 23h) (1 merged PR in 30d)
Description
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
-
dotnet new console -
create a new config file and add a new source to it with name
source_name -
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