0

I'm using Visual Studio Community 2019 to make a website for a school project, but when I try to choose the option to make a MVC controller along with views, using Entity Framework, I get this error every time (see "Error Message" image, since I cannot copy it). I've tried the solutions to many other related questions on this site, but nothing has changed. If anyone can suggest a solution, I'd really appreciate it!

MVC Controller Option

MVC Creation Screen

Error Message

Things I've tried:

I get the same problem for any project, even one downloaded for my professor's GitHub page (Scaffolding works for him), meaning this has nothing to do with my code.

Installed the latest dotnet-aspnet-codegenerator globally

Installed the Microsoft.VisualStudio.Web.CodeGeneration package

I have also tried repairing and uninstalling/reinstalling Visual Studio

Tried all solutions listed on This Post

Derek
  • 1
  • 2
  • Try these: https://stackoverflow.com/questions/45139243/asp-net-core-scaffolding-does-not-work-in-vs-2017 – Steve Greene Oct 25 '20 at 14:05
  • Forgot to mention I've tried all of those already. Thanks anyways – Derek Oct 26 '20 at 01:45
  • Don't post images, copy the important text into your question. The scaffolder seems confused about your binding address, mixing IPv6 and IPv4 loopback addresses into one string, which doesn't make any sense. Check the project properties for the app url? – Jeremy Lakeman Oct 26 '20 at 02:02

0 Answers0