如果已删除,则从 NuGet 获取 DLL [英] Fetching DLLs from NuGet if Deleted

查看:37
本文介绍了如果已删除,则从 NuGet 获取 DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 NuGet 上做了大量阅读,但似乎找不到我想要的东西.本质上,我希望它能够像 Apache Ivy 一样工作,您可以在其中检查您的配置文件(没有任何二进制文件)并告诉 NuGet 获取所有 DLL - 从而使您免于对大量 DLL 进行版本控制.

I've done a fair bit of reading on NuGet, and I can't seem to find what I want. Essentially, I'm hoping that it will work like Apache Ivy, where you can just check in your config file (without any binaries) and tell NuGet to fetch all the DLLs -- thus saving you from versioning tons of DLLs.

因此:NuGet 中是否有一个命令来获取和配置 packages.config 中提到的所有依赖项?

Hence: is there a command in NuGet to fetch and configure all dependencies mentioned in packages.config?

同样,这种情况是我只将packages.config 检查到源代码管理中,而不是实际的DLL,我需要重新获取所有内容.(最好不要按名称一一取包).

Again, the case for this is that I only checked packages.config into source control, not the actual DLLs, and I need to re-fetch everything. (Preferably without fetching packages one by one by name).

推荐答案

最近在博客文章中对此进行了介绍:

This has been covered recently in blog posts:

(从上面链接)今天如何使用命令行 NuGet.exe(可从 NuGet 页面 在 CodePlex 上):http://blog.davidebbo.com/2011/03/using-nuget-without-committing-packages.html

(Linked from above) How to do this today using command line NuGet.exe (available from the NuGet pages on CodePlex): http://blog.davidebbo.com/2011/03/using-nuget-without-committing-packages.html

现在也涵盖在 NuGet 的文档页面

这篇关于如果已删除,则从 NuGet 获取 DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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