How to downgrade nuget version of which I have on

2019-05-26 18:00发布

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)

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

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

1条回答
贼婆χ
2楼-- · 2019-05-26 18:48

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

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.

查看更多
登录 后发表回答