Open Closed

Initail database update on v4 core #3046


0
philwynn created

Hi

I have just downloaded v4 Core and successfully built. However, when I attempt to create the database via entity framework, I am getting the following error:

Could not load file or assembly 'Microsoft.EntityFrameworkCore.Design' or one of its dependencies. The system cannot find the file specified.

Please advise.


2 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi,

    Are you using Update-Database command on package manager console ? Also did you selected Web.Mvc or Web.Host project as startup project ?

    It might be related to selecting startup project.

  • 0
    philwynn created

    Yes, the problem turned out to be the StartUp Project selection.

    Thank you.