title: MissingManifestResourceException thrown when using OData query string
body: <p>I have an ASPNet Core Web API application that's utilizing the Microsoft.AspNetCore.OData.vNext package. When using a query string to try to utilize OData functionality, I receive a MissingManifestResourceException. Here's the code in question:</p>
  
  <pre><code>[EnableQuery]
  [HttpGet()]
  public class LocationsController : Controller
  {
    public IActionResult GetLocations()
    {
      IQueryable&lt;Location&gt; locationEntities = _locationInfoRepo.GetLocations();
      if (locationEntities == null)
      {
          return NotFound();
      }
  
      var results = Mapper.Map&lt;IEnumerable&lt;LocationDTO&gt;&gt;(locationEntities);
  
      return Ok(results);
    }
  }
  </code></pre>
  
  <p>Note: I've already tried changing the type on the method from IActionResult to IQueryable&lt;> to no avail. I've also commented out the Automapper Map method to ensure there were no issues there.</p>
  
  <p>Here's the method that is utilizing EF to return the data:</p>
  
  <pre><code>public IQueryable&lt;Location&gt; GetLocations()
  {
      return _context.Locations;
  }
  </code></pre>
  
  <p>Here's the URL along with query string: <a href="http://localhost/api/locations" rel="nofollow noreferrer">http://localhost/api/locations</a>?$filter=Name%20eq%20'Bob'</p>
  
  <p>'Name' is a string field specified in the model, and is a column in the database.</p>
  
  <p>Stack trace:</p>
  
  <pre><code>System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Microsoft.AspNetCore.OData.SRResources.resources" was correctly embedded or linked into assembly "Microsoft.AspNetCore.OData.vNext" at compile time, or that all the satellite assemblies required are loadable and fully signed.
      at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
      at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark&amp; stackMark)
      at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark&amp; stackMark)
      at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
      at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
      at Microsoft.AspNetCore.OData.SRResources.GetString(String name, String[] formatterNames)
      at Microsoft.AspNetCore.OData.SRResources.get_ClrTypeNotInModel()
      at Microsoft.AspNetCore.OData.ODataQueryContext..ctor(IEdmModel model, Type elementClrType, ODataPath path)
      at Microsoft.AspNetCore.OData.EnableQueryAttribute.OnActionExecuted(ActionExecutedContext context)
      at Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.&lt;OnActionExecutionAsync&gt;d__6.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync&gt;d__25.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
      at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)
      at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.&lt;InvokeNextExceptionFilterAsync&gt;d__24.MoveNext()
  </code></pre>
  
  <p>Can someone point me in the right direction?</p>