Avatar of mmsi

asked on 

ASP.NET Core MVC - Problem Adding Controller

OS: Windows 7 Professional
Visual Studio: 2019 Version 16.5.2
Project Type: ASP.NET Core Web Application
Application Type: Web Application (Model-View-Controller)
.NET Core Asp.Net Core 3.1

I just started reading a book on ASP.NET Core MVC.  While creating my first project I came across a problem.

When I right click the controller Folder in my project and select Add->Controller->MVC Controller-Empty then name the controller and click ADD. A processing Window pops up and gets stuck on "Scaffolding.. Generating Code".

I can't seem to add any controllers using this method and was wondering if someone might know why?

Update 4/1/2020
I added a NuGet Package named "Microsoft.VisualStudio.Web.CodeGenerators.Mvc.  Still no luck.

.NET MVC* asp.net core mvc* visual studio 2019

Avatar of undefined
Last Comment

8/22/2022 - Mon