The type or namespace "Mvc" does not exist in the namespace "System.Web"

I recently installed VS.NET 2012 and moved the ASP.NET MVC 4 project. However, when I create a solution, I get hundreds of errors with:

The type or namespace 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference) 

AFAIK ASP.NET MVC 4 is built into VS 2012, and there is nothing that needs to be installed. Any ideas how to get rid of these errors and create an application?

+4
source share
1 answer

You need to include the link to the System.Web.Mvc assembly in the project.

+3
source

Source: https://habr.com/ru/post/1432954/


All Articles