title: DNX Codegeneration for empty controller throws Method not found exception
body: <p>I am using VS2015 with DNX 1.0.0-beta6 for my application and am trying to use command line codegeneration to generate an empty controller and am encountering the following error. Need assistance.</p>
  
  <pre><code>d:\Project&gt;dnx . gen controller -name PersonController
  Finding the generator 'controller'...
  Running the generator 'controller'...
  Method not found: 'Microsoft.AspNet.Razor.GeneratorResults Microsoft.AspNet.Razor.RazorTemplateEngine.GenerateCode(System.IO.TextReader)'
  </code></pre>
  
  <p>My project.json looks like this</p>
  
  <pre><code>{
    "webroot": "wwwroot",
    "version": "1.0.0-*",
    "dependencies": {
      "Microsoft.AspNet.Diagnostics": "1.0.0-beta6",
      "Microsoft.AspNet.Mvc": "6.0.0-beta6",
      "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta6",
      "Microsoft.AspNet.Server.IIS": "1.0.0-beta6",
      "Microsoft.AspNet.Server.WebListener": "1.0.0-beta6",
      "Microsoft.AspNet.StaticFiles": "1.0.0-beta6",
      "Microsoft.AspNet.Tooling.Razor": "1.0.0-beta6",
      "Microsoft.Framework.Configuration.Json": "1.0.0-beta6",
      "Microsoft.Framework.Logging": "1.0.0-beta6",
      "Microsoft.Framework.Logging.Console": "1.0.0-beta6",
      "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta6",
      "EntityFramework.Core": "7.0.0-beta6",
      "EntityFramework.Commands": "7.0.0-beta6",
      "EntityFramework.SqlServer": "7.0.0-beta6",
      "Microsoft.Framework.CodeGeneration": "1.0.0-beta5",
      "Microsoft.Framework.CodeGenerators.Mvc": "1.0.0-beta5"
    },
    "commands": {
      "web": "Microsoft.AspNet.Hosting --config hosting.ini",
      "gen": "Microsoft.Framework.CodeGeneration",
      "ef": "EntityFramework.Commands"
    },
    "frameworks": {
      "dnx451": {
        "dependencies": {
          "EntityFramework.Core": "7.0.0-beta5"
        }
      },
      "dnxcore50": { }
    },
    "exclude": [
      "wwwroot",
      "node_modules",
      "bower_components"
    ],
    "publishExclude": [
      "node_modules",
      "bower_components",
      "**.xproj",
      "**.user",
      "**.vspscc"
    ],
    "scripts": {
      "prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]
    }
  }
  </code></pre>