CS0234: Mvc does not exist in the System.Web namespace

前端 未结 8 1593
醉梦人生
醉梦人生 2020-12-01 08:57

I converted a ASP.net 4 webform project to Asp.net MVC4 according to Chapter 13 of the Professional ASP.NET 3.5 MVC, by Scott Hanselmen, Phil Haack, and Rob Conery, Publishe

8条回答
  •  醉酒成梦
    2020-12-01 09:37

    I had this problem, but all the applications in IIS were broken when they had been working previously. None of the marked solutions helped me. The problem ended up being an extra copy of web.config had been introduced to my root directory. I removed that file and problem solved.

提交回复
热议问题