_From @donnyv on May 31, 2018 19:50_
Uninstall Nuget package Microsoft.EntityFrameworkCore.SqlServer and then use Visual Studio right click to create a new controller.
When using Visual Studio to create a new controller. The process hangs because it installs Microsoft.EntityFrameworkCore.SqlServer nuget package. When you try again after install, it works.
Why do you need this reference just to add a new controller?
Microsoft.AspNetCore.Mvc or Microsoft.AspNetCore.App or Microsoft.AspNetCore.All: Microsoft.AspNetCore.Mvc_Copied from original issue: aspnet/Mvc#7844_
Thanks for reporting this issue, @donnyv.
@vijayrkn, seems this is caused by the scaffolder. Will move to the appropriate repo now.
This should be fixed in the latest version.