You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a generic repository class in a different assembly and its generic implementation in different assembly, Container.AutoRegister does not identify and register it. Given the namespace is also different.
I have a generic repository class in a different assembly and its generic implementation in different assembly, Container.AutoRegister does not identify and register it. Given the namespace is also different.
I need to register it explicitly:
container.Register(typeof(MyProject.Core.Repository.IRepository<>), typeof(MyProject.Data.Repository<>));
The text was updated successfully, but these errors were encountered: