Starts in:
1 DAY
2 HRS
47 MIN
14 SEC
Starts in:
1 D
2 H
47 M
14 S
Open Closed

Create DB Issue #38


User avatar
0
amasanad created

I'm trying to create a project , but when creating the database i got the below issue. I already restored the required pacakges using nuget pacake manager. Also, i tried to install the required library but still the same issue.

Your startup project '---*.Web' 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.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @amasanad

    It is recommended that you use the DbMigrator project to create the database.

    https://docs.abp.io/en/commercial/latest/startup-templates/application/solution-structure#dbmigrator-project

    If you want to use dotnet ef tool. Please install it manually in the project.

    see https://docs.microsoft.com/en-us/ef/core/get-started/install/#get-the-entity-framework-core-tools https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Design/3.1.1

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06