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
Hi,
i have the latest of everything: .net core 8, abpboilerplate 9.2.2, sql server and using EF core.
I think i did everything by the book but i keep getting the following error:
ERROR 2024-05-26 22:14:14,640 [20 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'xxxx.Settings.ActivityTypeAppService' as it has dependencies to be satisfied.
'xxxx.Settings.ActivityTypeAppService' is waiting for the following dependencies:
Service 'Abp.Domain.Repositories.IRepository`1[[xxxx.Settings.ActivityType, xxxx.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered._
Build in services work just fine but the newly added ones give this error.
I added the entities in my db context as:
DbSet ActivityTypes { get; set; }
ActivityTypeAppService inherits IActivityTypeAppService which inherits IAsyncCrudAppService.
The rest is the default framework code with all assembly registrations and everything.
Any help would be greatly appreciated.
thanks
The text was updated successfully, but these errors were encountered:
I am sorry for the confusion, just realized that i havent marked the dbset declarations as public.
migrations are created even without the public declaration but seems like dep. injection wont register without public modifier.
Hi,
i have the latest of everything: .net core 8, abpboilerplate 9.2.2, sql server and using EF core.
I think i did everything by the book but i keep getting the following error:
ERROR 2024-05-26 22:14:14,640 [20 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'xxxx.Settings.ActivityTypeAppService' as it has dependencies to be satisfied.
'xxxx.Settings.ActivityTypeAppService' is waiting for the following dependencies:
Build in services work just fine but the newly added ones give this error.
I added the entities in my db context as:
DbSet ActivityTypes { get; set; }
ActivityTypeAppService inherits IActivityTypeAppService which inherits IAsyncCrudAppService.
The rest is the default framework code with all assembly registrations and everything.
Any help would be greatly appreciated.
thanks
The text was updated successfully, but these errors were encountered: