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

前端 未结 8 1575
醉梦人生
醉梦人生 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:32

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

    you may not have the System.Web.Mvc in your C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0

    So you need to add it and then to include it as reference to your projrect

提交回复
热议问题