title: Unable to add service reference to OData endpoint
body: <p>I just finished this walkthrough to create an OData V3 endpoint</p>
  
  <p><a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v3/creating-an-odata-endpoint" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v3/creating-an-odata-endpoint</a></p>
  
  <p>I got the api working correctly and tested it using PostMan.
  Now I wanted to consume the endpoint from a .NET client (console application) so I jumped to their other walkthrough</p>
  
  <p><a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v3/calling-an-odata-service-from-a-net-client" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v3/calling-an-odata-service-from-a-net-client</a></p>
  
  <p>However when I try to add a Service Reference, it cannot find any service at the URL I entered (<a href="http://localhost/WebAPI_OData/odata/" rel="nofollow noreferrer">http://localhost/WebAPI_OData/odata/</a>), </p>
  
  <blockquote>
    <p>The specified OData API cannot be added because OData APIs are now
    only supported with the OData Client Code Generation Tool.</p>
  </blockquote>
  
  <p>When I went to the <a href="http://odata.github.io/odata.net/OData-Client-Code-Generation-Tool/" rel="nofollow noreferrer">site</a> for the code generation tool it says </p>
  
  <blockquote>
    <p>OData Client Code Generator support generating client proxy file for
    OData V4 Service ... It supports following Visual Studio: Visual
    Studio 2010, 2012, 2013, 2015</p>
  </blockquote>
  
  <p>Below that it says </p>
  
  <blockquote>
    <p>OData Connected Service lets app developers connect their applications
    to OData Services (both V3 &amp; V4) and generate the client proxy files
    for the services. It supports following Visual Studio:</p>
    
    <p>Visual Studio 2015</p>
  </blockquote>
  
  <p>But I'm using Visual Studio 2019. So I'm really confused by this.  Which tool are we supposed to use for OData V3, and latest Visual Studio?  What is the equivalent procedure for adding service reference as indicated by the initial tutorials.</p>