lab icon indicating copy to clipboard operation
lab copied to clipboard

Adding OData Connected Service to the project failed: Unable to load the service index for source https://www.nuget.org/api/v2/.

Open AlexRozen opened this issue 7 years ago • 1 comments

Our enterprise network is isolated from the Internet. My VS 2017 NuGet manager is configured to use only local package sources.

Now I have the subjected problem. I hope, that all needed packages are manually downloaded to the local storage. But this VS setting seems to be ignored by OData.ConnectedService. P.S. My OData source is V3. Source code shows that V3CodeGenerator has completely different logic for package locating. P.S. Locally I have: microsoft.data.edm.5.6.3.nupkg microsoft.data.edm.5.8.3.nupkg microsoft.data.odata.5.6.3.nupkg microsoft.data.odata.5.8.3.nupkg microsoft.data.services.client.5.6.3.nupkg microsoft.data.services.client.5.8.3.nupkg microsoft.odata.client.6.17.0.nupkg microsoft.odata.client.6.19.0.nupkg microsoft.odata.core.6.17.0.nupkg microsoft.odata.core.6.19.0.nupkg microsoft.odata.core.7.3.1.nupkg microsoft.odata.edm.6.17.0.nupkg microsoft.odata.edm.6.19.0.nupkg microsoft.odata.edm.7.3.1.nupkg microsoft.spatial.6.17.0.nupkg microsoft.spatial.6.19.0.nupkg microsoft.spatial.7.3.1.nupkg system.spatial.5.6.3.nupkg system.spatial.5.8.3.nupkg

AlexRozen avatar Dec 06 '17 09:12 AlexRozen

You can try my Unchase OData ConnectedService for solve this problem.

unchase avatar Feb 19 '19 21:02 unchase