I had the same problem. It seems that I was referring to a specific class, not an interface in my constructor.
public OrderService( IRepository<Order> orderRepository, ProductService productService, ProductCategoryService productCategoryService )
Instead
public OrderService( IRepository<Order> orderRepository, IProductService productService, IProductCategoryService productCategoryService )
ysrb
source share