Search code examples
asp.netvisual-studio-2013odata

How to install Odata in visual studio with no internet


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


Solution

  • 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