error while trying to push nuget package from VSTS

匆匆过客 提交于 2019-12-23 12:58:43

问题


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

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

is this a limitation or am i doing something wrong?

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


回答1:


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




回答2:


I faced this issue and found a alternative way for this.

Instead of using dotnet nuget push use nuget push.



来源:https://stackoverflow.com/questions/49374770/error-while-trying-to-push-nuget-package-from-vsts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!