Open Closed

Create DB Issue #38

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)
  • 0
    maliming created
    Support Team

    hi @amasanad

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

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