Skip to content

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

@mishra14

Description

@mishra14

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 #5767

Metadata

Metadata

Assignees

No one assigned

    Labels

    Functionality:RestorePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:NuGet.exeNuGet.exeType:Bughelp wantedConsidered good issues for community contributions.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions