你的位置:首页 > 软件开发 > ASP.net > compilation debug=true targetFramework=4.5 报错解决方案

compilation debug=true targetFramework=4.5 报错解决方案

发布时间:2016-01-13 23:00:22
在 VS2013 下开发的 MVC4 网站,基于 .net 4.5,服务器是一台 Windows 2008 R2,运行的时候就报错了The targetFramework attribute in the <compilation> ele ...

在 VS2013 下开发的 MVC4 网站,基于 .net 4.5,服务器是一台 Windows 2008 R2,运行的时候就报错了

The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.

<system.web>    <compilation debug="true" targetFramework="4.5" />  <httpRuntime targetFramework="4.5" /></system.web>

原标题:compilation debug=true targetFramework=4.5 报错解决方案

关键词:get

get
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录