How to downgrade nuget version of which I have on cmd?

时光毁灭记忆、已成空白 提交于 2019-12-12 10:07:08

问题


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:


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.



来源:https://stackoverflow.com/questions/43213164/how-to-downgrade-nuget-version-of-which-i-have-on-cmd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!