title: "No executable found matching command dotnet-ef" error with EF Core database-first
body: <p>As you know, the newest version of Visual Studio 2017 abandons the 'project.json' and uses <code>.csproj</code> instead. </p>
  
  <p>I'm using the RTM version and want to generate model from an exist database, following <a href="https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db" rel="noreferrer">this guide</a>.  I got an error on the last step:</p>
  
  <blockquote>
    <p>The Entity Framework Core commands for the Package Manager Console don't yet support csproj-based .NET Core projects. Use the .NET Command Line Tools (i.e. dotnet ef) instead. For more details, see <a href="https://go.microsoft.com/fwlink/?linkid=834381" rel="noreferrer">https://go.microsoft.com/fwlink/?linkid=834381</a>.</p>
  </blockquote>
  
  <p>Following the error, I used the link it mentioned to switch to <code>dotnet ef</code>.  Here is my package manager command:</p>
  
  <blockquote>
    <p>PM> dotnet ef dbcontext scaffold "Server=.;Database=Jumpstart;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer</p>
  </blockquote>
  
  <p>Then the error comes again:</p>
  
  <blockquote>
    <p>dotnet : No executable found matching command "dotnet-ef"</p>
  </blockquote>
  
  <p>I used the help command, I found that dotnet does not have a command called ef.</p>
  
  <p>I just want to generate a model from an existing database.</p>