Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Initail database update on v4 core #3046


User avatar
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)
  • User Avatar
    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.

  • User Avatar
    0
    PhilWynn created

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

    Thank you.