尝试从VSTS推送nuget软件包时出错 [英] error while trying to push nuget package from VSTS

查看:105
本文介绍了尝试从VSTS推送nuget软件包时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了dotnet任务(.Net Core)进行nuget推送.在"Nuget服务器"部分,它要求我使用创建一个新的Nuget Connection.我使用了API Key选项,并在连接名称,Feed URL和API Key中添加了游戏.

I added dotnet task (.Net Core) to do a nuget push. In the Nuget server section it asked me to use create a new Nuget Connection. I went with the API Key option and game in connection name,Feed URL, and API Key.

运行此步骤时,出现以下错误

when I run this step I get the following error

错误:DotNetCore当前不支持使用加密的Api 密钥.

Error: DotNetCore currently does not support using an encrypted Api Key.

这是一个限制,还是我做错了什么?

is this a limitation or am i doing something wrong?

请注意,在我的桌面上,我将要创建程序包并使用apikey推送程序包.

Please note from my desktop I am about to create package and push the package using apikey.

推荐答案

通过调用dotnet nuget push命令来处理此问题,通过命令行任务将软件包推送到NuGet服务器.

Pushing package to NuGet server through Command Line task by calling dotnet nuget push command to deal with this issue.

这篇关于尝试从VSTS推送nuget软件包时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆