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!
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