asp.net – 命名空间’System.Web’中不存在类型或命名空间’Mvc
发布时间:2020-12-16 09:51:57 所属栏目:asp.Net 来源:网络整理
导读:我最近安装了VS.NET 2012并将我的ASP.NET MVC 4项目移了过来.但是,在构建解决方案时,我遇到了数百个错误: The type or namespace 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference) AFAIK ASP.NET MVC 4内置于V
我最近安装了VS.NET 2012并将我的ASP.NET MVC 4项目移了过来.但是,在构建解决方案时,我遇到了数百个错误:
The type or namespace 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference) AFAIK ASP.NET MVC 4内置于VS 2012中,无需安装任何内容.任何想法如何摆脱这些错误并构建应用程序? 解决方法
您需要在项目中包含对程序集System.Web.Mvc的引用.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net – MVC 3中的Windows身份验证
- controller – 基类中的ExecuteCore()在MVC 4 beta中未触发
- .net – 使用basicHttpBinding时使HTTPS工作
- 从Azure功能调用Asp.Net Web API端点
- 在ASP.NET mvc 4中使用Ninject时是否需要控制器工厂
- asp.net-mvc – 我可以在MVC3中的Html.LabelFor中添加一个C
- asp.net – 检查会话是否已超时
- asp.net – CLSID为{00024500-0000-0000-C000-000000000046
- asp.net – System.Web.Security.MembershipProvider在哪里
- vs2008试用期到期解决办法
推荐文章
站长推荐
热点阅读