ABP 常见错误
使用ABP框架进行First Code时,出现错误如下:
Your startup project 'HF.Template.Migrator' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again.
出错原因是因为启动项没有选择Migrator,默认启动项是core,修改启动项为Project.Migrator即可