Horosho
Horosho

Reputation: 655

How to generate odata v4 c# proxy client for Visual Studio 2017?

Where can i get odata v4 c# proxy generator for Visual Studio 2017? The existing one is for 2015 only.

Upvotes: 14

Views: 9834

Answers (5)

A.B.
A.B.

Reputation: 2470

Anyone who is interested for a version which is running in Visual Studio 2019, s. following post:

Installing OData v4 Client Code Generator in Visual Studio 2019

Upvotes: 0

GWigWam
GWigWam

Reputation: 2124

You can use the download button on this page. You have run the installer and then it works fine with VS2017.

The extension will not show up in the Tools --> Extensions window, but it will add the 'OData client' as an option in 'add new item'.

Tested this with Visual Studio 2017 enterprise V15.1


Edit: Apparently VS2017 is supported again since version 7.4.2 beta, thanks @linac.

Upvotes: 3

Tayyab
Tayyab

Reputation: 1217

The best idea here would be to create a class library in Visual studio 2015 with the odata code generator. This class library should be responsible for dealing with all the odata client related operations. Next you can simply add this library to your visual studio 2017 solution and add reference to this library in our main project. That is how I got rid of this problem when I encountered it.

Upvotes: 0

NACER Idris
NACER Idris

Reputation: 154

VS 2017 is now supported in "OData Connected Service" extension. install it and add your reference from:

Service Refernces --> Add Connected Service --> OData Connected Service

Upvotes: 13

Chris Jones
Chris Jones

Reputation: 61

You can open the solution in VS 2015, update the OData Service Reference from there, then close and reopen in VS 2017.

Clumsy workaround, however it does work in the absence of MS adding the feature back in.

Upvotes: 1

Related Questions