我们的一个 ASP.NET MVC 5 web 应用程序有以下 web.config 设置:
<system.web>
<compilation debug="true" targetFramework="4.6" />
<httpRuntime targetFramework="4.5" />
<!--... many other things -->
</system.web>
目前还不清楚为什么有两个 targetFramework 设置,编译目标为4.6,然后试图运行在4.5以下似乎是错误的..。
显然我遗漏了什么,但是是什么?