User1826113580 posted
I installed RTM VS 2017 and created a project:
Template: ASP.NET Core Web Application (.Net Core)
ASP.NET Core 1.1 Templates:Web Application
Right Click Controller, Add, Controller and select Full Dependency
Right Click Controller, Add, Controller, and select MVC Controller Empty
Click Add, Add (scaffolding now runs)
I get this error: There was an error running the selected code generator: The specified deps.json [.....bin\HPD\Debug\netcoreapp1.1\myApp.deps.json] does not exist.
I reinstalled VS 2017 just in case I had some kind of corruption but get the same error. I tried manually adding an empty deps.json in the indicated location but that just leads to a different error because the file is empty.
It would seem that the Full Dependency action should have provided any necessary files. However, do I need to do something to have this file generated before scaffolding will work?
EDIT once I ran dotnet restore and ef migrations add initial, then scaffolding worked.