豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

nuget.exe delete warns about API Key for local sources, even though it makes no sense #2625

@spadapet

Description

@spadapet

Using nuget.exe 3.4.3.854

REPRO

  • Pretend that you have a local file source that contains newtonsoft.json.8.0.3
  • nuget.exe delete newtonsoft.json 8.0.3 -Source local

RESULT
WARNING: No API Key was provided and no API Key could be found for 'f:\local'. To save an API Key for a source use the 'setApiKey' command.

EXPECT
Don't show that warning since I will never need an API Key for my local source

Metadata

Metadata

Assignees

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