简体   繁体   中英

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

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)

在此处输入图片说明

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

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

编译器版本设置


一些集会

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM