locked
Cannot see Net 4.5.2 RRS feed

  • Question

  • User1510859543 posted

    Our clients server is 2008R2 and it has .Net 4.5.2 installed but it does not show up in the IIS application pool setup for new or existing app pools.  How do I get it to show up so I can make a new web with 4.5.2 pool?

    Wednesday, September 21, 2016 12:20 AM

Answers

  • User-654786183 posted

    .NET 4.5 is an enhancement to 4.0. Once you install .NET 4.5, .NET 4.0 folder will be updated to contain all the .NET 4.5 files.

    You have to still choose .NET 4.0 as application pool in IIS. The web.config file will reflect the target version.  If you select the target framework as 4.5 in visual studio for your web application you can see the following line in the web.config.

    <compilation debug="true" targetFramework="4.5"/>



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 21, 2016 5:00 AM

All replies

  • Wednesday, September 21, 2016 4:44 AM
  • User-654786183 posted

    .NET 4.5 is an enhancement to 4.0. Once you install .NET 4.5, .NET 4.0 folder will be updated to contain all the .NET 4.5 files.

    You have to still choose .NET 4.0 as application pool in IIS. The web.config file will reflect the target version.  If you select the target framework as 4.5 in visual studio for your web application you can see the following line in the web.config.

    <compilation debug="true" targetFramework="4.5"/>



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 21, 2016 5:00 AM