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

Where does the Net Zero Entity Tool get the host database connection string from? #8587


User avatar
0
ebenzle created

Good Morning,

Where does the Net Zero Entity Tool it get the host database connection string from?

=============================================================== When I ran for first time the out put was:

Could not execute because the specified command or file was not found. Possible reasons for this include:

  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET Core program, but dotnet-ef does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Running migrator... 2020-02-26 05:53:34 | Host database: Server=localhost; Database=NextGenLmsDb; Trusted_Connection=True; 2020-02-26 05:53:34 | Continue to migration for this host database and all tenants..? (Y/N):

======================================================================== My appsettings.json has the correct connection string to database!


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

    hi

    Try

    dotnet tool install --global dotnet-ef --version 3.1.1