Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows Server 2008 上运行 IIS 7.0。它以前安装了 .NET 4.0 以及 ASP.NET v4.0 和 ASP.NET v4.0 Classic 的应用程序池。
我现在已经安装了 .NET 4.5 (v4.0.30319),并且我知道 .NET 4.5 是“就地升级”,但我是否需要向 IIS 重新注册 .NET 4.0?
例如C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -ir
C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -ir
不,您不需要重新注册。我最近安装了 .NET 4.5 并且没有更改任何 IIS 设置。