可以删除 .nupkg 文件吗? [英] Is it OK to delete a .nupkg file?

查看:105
本文介绍了可以删除 .nupkg 文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 NuGet 的新手 -- 刚开始使用它并为自己准备了一份 WatiN.

I'm new to NuGet -- just started using it and got myself a copy of WatiN.

我正在尝试减小在将其放入版本控制之前撤回的文件夹的大小.我注意到 WatiN.2.0.50.nupkg 大约是 12mb.我从 此链接 中注意到 .nupkg 本质上是包内容的压缩版本.是否可以删除它,或者这样做可能会导致将来出现任何问题?

I'm trying to trim down the size of the folder that was pulled back before I put it into version control. I noticed that WatiN.2.0.50.nupkg is about 12mb. I noticed from this link that the .nupkg is essentially a compressed version of the package contents. Is it OK to delete it, or might doing so cause any issues in the future?

推荐答案

如果您删除它,我们将无法更新/卸载,因为我们使用该文件作为当前安装内容的记录.我们正在研究一项功能,允许人们从packages.config 恢复包,这样您可以避免将包完全置于源代码控制中.更多信息请见http://nuget.codeplex.com/workitem/165

If you delete it we can't update/uninstall since we use that file as a record of what is currently installed. We're looking at a feature that would allow people to restore the packages from packages.config so you could avoid putting packages in source control altogether. More info here http://nuget.codeplex.com/workitem/165

这篇关于可以删除 .nupkg 文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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