NuGet/Home

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

Open

#5,849 建立於 2017年9月5日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)HTML (292 fork)batch import
Functionality:RestorePriority:3Product:NuGet.exeType:Bughelp wanted

倉庫指標

Star
 (1,459 star)
PR 合併指標
 (平均合併 464天 23小時) (30 天內合併 1 個 PR)

描述

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

貢獻者指南