title: EF7 RC1 The term 'Scaffold-DbContext' is not recognized
body: <p>I am trying to use EF7 RC1 to scaffold from an existing database following the instructions at
      <a href="https://media.readthedocs.org/pdf/ef/latest/ef.pdf" rel="nofollow">https://media.readthedocs.org/pdf/ef/latest/ef.pdf</a></p>
  
  <p>When I run the command from the Package Manager Console</p>
  
  <pre><code>Scaffold-DbContext -provider EntityFramework.MicrosoftSqlServer -connection "Server=(localdb)\MSSQLLocalDB;Initial Catalog=Clients_Local;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
  </code></pre>
  
  <p>I get this error</p>
  
  <pre><code>Scaffold-DbContext : The term 'Scaffold-DbContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:1
  + Scaffold-DbContext -provider EntityFramework.MicrosoftSqlServer -conn ...
  + ~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : ObjectNotFound: (Scaffold-DbContext:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>My project.json looks like this</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{
    "userSecretsId": "aspnet5-WebApplication1-1702fb51-ff21-46b5-8685-eb0834dd86f0",
    "version": "1.0.0-*",
    "compilationOptions": {
      "emitEntryPoint": true
    },
  
    "dependencies": {
      "EntityFramework.Commands": "7.0.0-rc1-final",
      "EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final",
      "EntityFramework.MicrosoftSqlServer.Design": "7.0.0-rc1-final",
      "Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final",
      "Microsoft.AspNet.Diagnostics.Entity": "7.0.0-rc1-final",
      "Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-final",
      "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
      "Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
      "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-final",
      "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
      "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
      "Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-final",
      "Microsoft.Extensions.CodeGenerators.Mvc": "1.0.0-rc1-final",
      "Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-rc1-final",
      "Microsoft.Extensions.Configuration.Json": "1.0.0-rc1-final",
      "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc1-final",
      "Microsoft.Extensions.Logging": "1.0.0-rc1-final",
      "Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final",
      "Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-final",
      "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc1-final"
    },
  
    "commands": {
      "web": "Microsoft.AspNet.Server.Kestrel",
      "ef": "EntityFramework.Commands"
    },
  
    "frameworks": {
      "dnx451": { },
      "dnxcore50": { }
    },
  
    "exclude": [
      "wwwroot",
      "node_modules"
    ],
    "publishExclude": [
      "**.user",
      "**.vspscc"
    ],
    "scripts": {
      "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>After researching this issue I have deleted the contents of C:\Users\.dnx\bin and updated dnvm using </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>https://github.com/aspnet/Home#cmd</code></pre>
  </div>
  </div>
  </p>
  
  <p>But I still get the same error.</p>