title: config.MapODataServiceRoute error
body: <p>I am currently following this guide -> <a href="http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint">Link to asp.net website</a></p>
  
  <p>As the guide says I added all the necessary packages via the nuget console and added the necessary usings to the WebApIConfig file. . But when I added the endpoint register method VS gave me an error. </p>
  
  <p>The method I added:</p>
  
  <pre><code>public static void Register(HttpConfiguration config)
      {
          // New code:
          ODataModelBuilder builder = new ODataConventionModelBuilder();
          builder.EntitySet&lt;Product&gt;("Products");
          config.MapODataServiceRoute(
              routeName: "ODataRoute",
              routePrefix: null,
              model: builder.GetEdmModel());
      }
  </code></pre>
  
  <p>The Error VS gave me:</p>
  
  <pre><code>Error   1   'System.Web.Http.HttpConfiguration' does not contain a definition for 'MapODataServiceRoute' and no extension method 'MapODataServiceRoute' accepting a first argument of type 'System.Web.Http.HttpConfiguration' could be found (are you missing a using directive or an assembly reference?) C:\Users\rvcamp\Desktop\odataTest\odataTest\App_Start\WebApiConfig.cs   29  20  odataTest
  </code></pre>
  
  <p>I checked the comments of the guide but this error is not mentioned, also I can not resolve the error either. What am I doing wrong? </p>