I am getting this error when I try to run a project that I took over.
I assume I have a problem in my web.config, but I don\'t know what to look for.
I got the same error. What worked for me: Right-click on your project and select Manage NuGet Packages. Install Microsoft ASP.NET Razor. Rebuild the project.