title: AspNetCore OData not working on .NET Core 3.0
body: <p>I just upgraded an ASP.NET Core 2.2 project to ASP.NET Core 3.0 and my OData endpoints refuse to work. During startup, I get the following error:</p>
  
  <blockquote>
    <p>System.TypeLoadException: 'Could not load type 'Microsoft.AspNetCore.Mvc.Internal.ActionConstraintCache' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.'</p>
  </blockquote>
  
  <p>How does one work around this type resolution issue?</p>