使用 NuGet 在开发人员之间共享代码 [英] Using NuGet to share code across developers

查看:16
本文介绍了使用 NuGet 在开发人员之间共享代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 NuGet 试图找到一种更好的方法来共享和更新包以在多个开发人员之间共享.

I am using NuGet in attempt to find a better way to share and update packages to share across multiple developers.

我安装了 Nuget,并在选择管理 | NuGet 包"选项后,

I installed Nuget and after choosing the option "Manage | NuGet pakages",

我安装了HtmlAgilityPack"包,发现它在我的解决方案文件夹中放置了一个包目录.

I installed the package "HtmlAgilityPack" and noticed it put a packages directory in my Solutions folder.

所以我假设如果想与其他开发人员共享这个应用程序,我必须将这个包添加到我的存储库中......

So I assume if wanted to share this application with for other developers to work on, I had to add this package to my repository as well....

这不是我想要的,因为我更喜欢将我的包安装在更全球化的位置,以便其他应用程序也可以访问它们...

This is not exactly what I want as I prefer my packages installed in a more global location so that other applications can access them as well...

有没有更好的方法来做到这一点?

Is there a better way to do this?

推荐答案

这是刚刚添加到 Nuget 1.6.
请参阅 Nuget 包恢复.

This was just added to Nuget 1.6.
See Nuget Package Restore.

这篇关于使用 NuGet 在开发人员之间共享代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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