Which version of the .NET Framework is IIS using for my AppPool?

前端 未结 2 796
名媛妹妹
名媛妹妹 2020-12-10 01:28

.Net Framework 4.5 was installed on my machine and on the IIS Application Pool, I set the .NET CLR version to 4.0.

My question is when running .NET code in this IIS

2条回答
  •  醉梦人生
    2020-12-10 02:27

    Follow the below steps to get the .Net Version Used by IIS.

    1. Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
    2. On the Connections pane, expand the server node and click Application Pools.
    3. On the Application Pools page, select the application pool for which you want to specify a .NET Framework version, and then click Basic Settings in the Actions pane.
    4. In the Edit Application Pool dialog box, in the .NET Framework version list, Check the version of .Net Framework. -> Get this version
    5. Navigate to the Directory and check the details of the clr.dll-> C:\Windows\Microsoft.NET\Framework64\Version_got_from_step_4\clr.dll

    Versions of .Net above 4.0 are being upgraded as in-place and the installed version can be checked in the registry path - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\release or version

提交回复
热议问题