Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不小心在 NuGet 中创建了一个库并想删除它(到目前为止,没有人下载它)。我已经安装了 NuGet CLI,并尝试了以下命令:
nuget delete mynugetlibrary 1.0 -source nuget.org
当我这样做时,它会要求我输入用户名和密码;但是,我使用我的 Microsoft 用户名和密码(NuGet CLI 似乎不接受)登录到 NuGet。我怎样才能解决这个问题?
nuget.org 不支持永久删除包。
但是,当您在登录时查看您的包页面时,您应该会看到一个“联系支持”链接,并且您可以在表单上选择“该包不打算在 nuget.org 上公开发布”。这是你只能在网站上做的事情,你不能通过nuget.exe来做。