Skip to content

No overload for method 'ProjectTo' takes 0 arguments #10

Description

@cseas

Visual Studio 2019 throws this error in ReservationRepository.cs for below snippet.

public async Task<List<T>> GetAll<T>() {
  return await GetQuery().ProjectTo<T>().ToListAsync();
}

Perhaps it has to do with this AutoMapper Issue.

How can this error be resolved?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions