OData / lab

This repository is for exploring new ideas and developing early prototypes of various OData stacks.
Other
48 stars 59 forks source link

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

Open AlexRozen opened 6 years ago

AlexRozen commented 6 years ago

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

unchase commented 5 years ago

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