Can't create component as it has dependencies to be satisfied

那年仲夏 提交于 2019-11-30 13:46:20
Farb

I had the same problem but I could solve it!

This is a screenshot of the error given by IIS.

The reason of the error is that ABP cannot find the defined entity class Member.

The solution was to add the code public virtual IDbSet<Members> Members { set; get; }in the DbContext of the EntityFramework Project.

after my workmate updated one ABP version, I met the same error. I checked my old code. found that, he missed to attach one cs file to the project. then I recoved it, now it works. please check whether you have similar file in the same path, wish it can help you.

[EF project]\EntityFramework\Repositories\xxxxRepository.cs

if you did not have, please create a similar one as xxxxRepositoryBase.cs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!