Base solution for your next web application
Open Closed

RAD tool - No executable found matching command "dotnet-ef" #5558


User avatar
0
paulg created

Hi, using Core and jQuery, I get the following error with the RAD Tool:

Running add-migration... No executable found matching command "dotnet-ef" Running update-database... No executable found matching command "dotnet-ef"

All other files are created fine, but GUI will not load as the table hasn't been created. I have the latest version of aspnetzero. What is causing this?


3 Answer(s)
  • User Avatar
    0
    yekalkan created

    Do you get the same error when you run these commands yourself?

  • User Avatar
    0
    paulg created

    Hi, I did the commands myself and the table is now created and everything works:

    PM> add-migration cmdlet Add-Migration at command pipeline position 1 Supply values for the following parameters: Name: 1 To undo this action, use Remove-Migration. PM> update-database Applying migration '20180829074808_1'. Done. PM>

    I wasn't sure what to supply for Name, so I just tried "1". Can you explain how this worked? And why doesn't the RAD Tool work for these commands?

  • User Avatar
    0
    alper created
    Support Team

    hi,

    looks like your .NET Core CLI version is outdated. can you update .NET Core runtime <a class="postlink" href="https://www.microsoft.com/net/download">https://www.microsoft.com/net/download</a>