【发布时间】:2015-09-18 06:04:30
【问题描述】:
我在 Visual Studio 2013 中使用 MVC5,当我运行我的项目时,我在项目构建成功时遇到错误:
Compiler Error Message: CS0433: The type 'System.Web.Mvc.WebViewPage<TModel>' exists in both 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.Mvc\v4.0_5.1.0.0__31bf3856ad364e35\System.Web.MVC.dll' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ac088797\ac28303c\assembly\dl3\af0a60ce\a6fbe2c8_3cb3d001\System.Web.Mvc.DLL'
【问题讨论】:
-
我希望您已经尝试过
the ultimate fixes for MS issues之类的清理解决方案、重新启动 VS、清除临时文件等? -
是的,我也替换了 .dll 文件
标签: asp.net-mvc asp.net-mvc-4 model-view-controller asp.net-mvc-5 asp.net-mvc-5.1