WebForms and ASP.NET MVC co-existence
问题 I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I've done to make that happen is that I added a namespaces node to the WebForms web.config : <pages styleSheetTheme="Default"> ... <namespaces> <add namespace="System.Web.Mvc"/> <add namespace="System.Web.Mvc.Ajax"/> <add namespace="System.Web.Mvc.Html"/> <add namespace="System.Web.Routing"/> </namespaces> </pages> However, when I try to start the project, I get an error stating: " Compiler Error