I have an asp.net 5 web application that references a class library.
That class library use Entity Framework 7 to perform a query.
public IEnumerable<Member> GetMemberyByFirstName(string firstName)
{
var members = _context.Members.Where(m => m.FirstName.Contains(firstName));
return memebers;
}
But I get this compile error
The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. *