使用ABP框架進行First Code時,出現錯誤如下:
Your startup project 'AElf.OfficialSite.Core' 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即可