Invalid object name 'dbo.AspNetUsers' in Asp.NET MVC 5 Entity Framework

后端 未结 7 519
悲哀的现实
悲哀的现实 2020-12-06 02:33

If you have an existing database, and you want to include ASP.NET Identity tables to it, you can face this error. You may not know how to integrate [AspNetRoles], [A

相关标签:
7条回答
  • 2020-12-06 03:29

    Remove folder /.vs/[solution_name]/DesignTimeBuild. Next from command line: dotnet ef database update --context [your_db_context_name] It works for me.

    0 讨论(0)
提交回复
热议问题