0

How can I install Odata on visual studio 2013 at a machine that is not connected to internet?

When I try to install it using the conventional way (by running this command: Install-package Microsoft.AdpNet.Odata) it gives me the following error:

Unable to connect to the remote server

user2931442
  • 373
  • 2
  • 7
  • 16
  • I guess, you have downloaded the package or have a backup. Just go to general settings in the nuget and install from there easily. Without backup, you can't do anything or commands will not work. – AT-2017 Oct 26 '16 at 11:25

1 Answers1

0

Download the .nupkg file from Nuget.org on a machine that does have internet, copy it to the machine that doesn't have internet, and then use Install-Package C:\Path\To\Some\File.nupkg

Or for more options, see this question

Community
  • 1
  • 1
lgaud
  • 2,430
  • 20
  • 30
  • Thanks for your answer. I tried your command but it showed the same error. I tried the command in the question you shared but it showed thus error: enable to read package from path ... And i tried the other answer the nuget screen kept on trying to load for several minutes – user2931442 Oct 26 '16 at 12:12