ABP 常見錯誤

使用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即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章