在 IIS 8.0 中配置 .NET Framework 4.5.2

Configuring .NET Framework 4.5.2 in IIS 8.0

在我的 Windows Server 2012 中,我安装了 .NET Framework 4.5.2,但是当我尝试更改一个应用程序池的 .NET Framework 时,它没有在 IIS 中列出。

应用程序池应设置为 .net 4.0,其中包括 4.5.1 和 4.5.2 等所有更新

所有其他设置都通过配置,例如:

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

安装 Microsoft .NET Framework 4.5.2 开发包 https://www.microsoft.com/en-us/download/details.aspx?id=42637