user2931442 user2931442 - 1 month ago 12
ASP.NET (C#) Question

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

Answer

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