如何降级我在cmd上拥有的Nuget版本? [英] How to downgrade nuget version of which I have on cmd?

查看:112
本文介绍了如何降级我在cmd上拥有的Nuget版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错误地使用"nuget update -self"(自动升级到V3.5)在cmd上升级了nuget,我想将此版本降级到旧版本(2.8.6)(与当前生产版本相同) )

I mistakenly upgrade nuget on cmd with "nuget update -self"(which upgrade automatically to V3.5), and I want to downgrade this to old version (2.8.6) (to be the same as in current production version)

如何降级/卸载nuget(然后安装旧版本)?

how can I downgrade / uninstall nuget (and then install the old)?

我搜索了降级的nuget/卸载nuget,但是什么也没找到.

I searched for downgrade nuget / uninstall nuget, but found nothing.

推荐答案

当前没有NuGet.exe的安装程序.可以从NuGet网站上下载不同版本的NuGet:

Currently there is no installer for NuGet.exe. Different versions of NuGet can be downloaded from the NuGet site:

https://dist.nuget.org/index.html

只需下载所需版本,然后使用该版本替换所需版本.或者,您可以只从生产服务器中复制NuGet.exe并替换本地副本.

Just download the version you want and use that to replace the version you want. Or you can just copy NuGet.exe from your production server and replace your local copy.

这篇关于如何降级我在cmd上拥有的Nuget版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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