Set ASP.NET version to 3.5 in the IIS 6 Default Web site properties (ASP.NET tab)

后端 未结 2 1616
情深已故
情深已故 2021-01-23 00:12

How to set ASP.NET version to 3.5 in the IIS 6 Default Web site properties (ASP.NET tab)? From what I can see was version 2 (even though I have install version .NET 3.5)

相关标签:
2条回答
  • 2021-01-23 00:52

    There isn't a true "ASP.NET 3.5". "ASP.NET 3.5" is really "ASP.NET 2.0" plus some extra assemblies.

    0 讨论(0)
  • 2021-01-23 00:54

    You cannot specify this in IIS. For websites earlier than Framework 4.0 and greater than 2.0 you need to specify version 2.0 in IIS.

    However there are configurations in web.config to restrict a website to run or compile under framework version 3.5. Visual Studio by default make these setting in web.config

    To be sure here are some parts of the web.config

    Compiler version settings


    Some Assemblies

    0 讨论(0)
提交回复
热议问题