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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.