In this article I will explain with an example, how to change .Net Framework of Application Pool in Internet Information Services (IIS).
This is applicable to .Net Framework 4.0, 4.5, 4.6, 4.7 and 4.8.
Adding Application Pools in Internet Information Services (IIS)
Changing .Net Framework of Application Pool (IIS)
To change the .NET CLR version in Internet Information Server (IIS) Manager, you can try the following steps:
1. Open IIS Manager. In the Connections panel, select Application Pools.
2. Right-click the site's app pool and select Basic Settings.
3. In the Edit Application Pool dialog box, from the .NET CLR version list, select the newer version.
Note: It will show .NET CLR Version v4.0 for .Net Framework 4.0, 4.5, 4.6, 4.7 and also 4.8.
4. Click OK to save your changes.
Finally, the .NET CLR Version has been changed.