WCF Data Service reference in WPF Project in VS2017 -


i'm having issues adding service reference wpf project in vs2017. service wcf data service using entityframework (entityframeworkdataservice). in vs2013 using before, didn't have issues adding services wpf project. upgraded vs2017 last month, , made changes wcf service , needed refresh reference in wpf project. couldn't seem refresh deleted reference , started trying re-add reference , i'm greeted error message:

the specified odata api cannot added because odata apis supported connected services.

for more information, please see: https://aka.ms/odatavsclientguidance

that provided link not have info regarding vs2017 setups. recommends use 'odata connected service' extension extension not support vs2017 (tried got "not compatible" message). found 'vs wcf connected service' extension vs2017, doesn't appear support wpf projects (or atleast couldn't figure out).

has ran issue adding wcf data service reference wpf project? other suggestions try?

i typically generate clients via datasvcutil.exe part of .net framework

e.g.

"%windir%\microsoft.net\framework\v4.0.30319\datasvcutil.exe" /dataservicecollection /version:2.0 /language:csharp /out:c:\temp\dataservice.cs /uri:http://localhost:16584/dataservice/

the msdn docs: https://msdn.microsoft.com/en-us/library/ee383989(v=vs.110).aspx


Comments