简体   繁体   中英

Is there a way to download nuget.exe and then do an offline upgradation into the Visual Studio?

My visual studio is installed on a machine which doesn't have internet connection so I can't upgrade the NuGet Manager in VS. I am looking for a way to use another machine which has internet connection to download NuGet Manager exe and then install on VS.

Updated

please check below screen print which i have installed on the my machine.also please note that i don`t have internet connection on that machine. so i can not upgrade NuGet manager from Visual studio.

在此处输入图片说明

can anybody help me on this?

Thanks

Is there a way to download nuget.exe and then do an offline upgradation into the Visual Studio?

The answer is yes. But if you want to upgrade the NuGet Manager in Visual Studio 2015 , you should download the NuGet extension for Visual Studio instead of nuget.exe :

Visual Studio 2015 : https://dist.nuget.org/visualstudio-2015-vsix/latest/NuGet.Tools.vsix

Before upgrade the extension, you should uninstall the old version by Tools -> Extension and Updates... -> Installed -> NuGet Package Manager for Visual Studio , then restart Visual Studio, install that extension.

If you are using Visual Studio 2017 , you should download the upgrade Visual Studio instead of nuget.exe .

Reason:

NuGet Package Manager 4.x (PM UI and PM Console) are included with Visual Studio 2017 (all 15.x versions). Latest NuGet releases are delivered as part of Visual Studio updates.

Note: nuget.exe itself is not included with any version of Visual Studio.

Update:

Since you are using Visual Studio 2010 with nuget manager 2.0.3 and you do not have the internet connection on that machine, you can try to uninstall that nuget manager, download the latest version from other machine, then install it. Or you can install that extension directly.

Source: NuGet Package Manager

Since I do not use such version Visual Studio, I am not sure if you can uninstall it or update it directly. If not, I am afraid you have to download the Visual Studio 2010 Ultimate version, then install it on that machine.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM