troubleshooting Question

ASP.NET Core MVC - Problem Adding Controller

Avatar of mmsi
mmsi asked on
.NET MVC* core mvc* visual studio 2019
2 Comments1 Solution34 ViewsLast Modified:
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.

Miguel Oz
Senior Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2009

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros