如何从私人nuGet主机下载软件包 [英] how to download packages from a private nuGet host

查看:93
本文介绍了如何从私人nuGet主机下载软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对nuget世界很陌生.我必须使用托管在私有服务器中的一些私有软件包. (我知道服务器的网址).谁能告诉我如何浏览和下载此私人主机中存在的那些程序包?

I am very new to the nuget world. I have to use some private packages that are hosted in the private server. (I know the server URL). Could anyone tell me how to browse and download those package present in this private host?

推荐答案

在Visual Studio中,单击工具">"Nuget程序包管理器">程序包管理器设置".选择程序包源",然后在其中添加您的私有服务器URL.之后,当您单击管理解决方案的Nuget软件包"时,您将在右侧看到下拉列表,其中带有您的私有Nuget Server作为软件包源.您可以像浏览nuget.org一样浏览它.

In Visual Studio, click Tools > Nuget Package Manager > Package Manager Settings. Select Package Sources and add your private server url in there. After that, when you click Manage Nuget Package for Solution, you will see drop down list on the right side with your private Nuget Server as a Package source. You can browse it the same as you browse nuget.org.

这篇关于如何从私人nuGet主机下载软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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