简体   繁体   English

在IIS 6默认网站属性(“ ASP.NET”选项卡)中将ASP.NET版本设置为3.5。

[英]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)? 如何在IIS 6默认网站属性(“ ASP.NET”选项卡)中将ASP.NET版本设置为3.5? From what I can see was version 2 (even though I have install version .NET 3.5) 从我所看到的是版本2(即使我已经安装了.NET 3.5版)

在此处输入图片说明

There isn't a true "ASP.NET 3.5". 没有真正的“ ASP.NET 3.5”。 "ASP.NET 3.5" is really "ASP.NET 2.0" plus some extra assemblies. “ ASP.NET 3.5”实际上是“ ASP.NET 2.0”以及一些额外的程序集。

You cannot specify this in IIS. 您不能在IIS中指定它。 For websites earlier than Framework 4.0 and greater than 2.0 you need to specify version 2.0 in IIS. 对于早于Framework 4.0且高于2.0的网站,您需要在IIS中指定版本2.0。

However there are configurations in web.config to restrict a website to run or compile under framework version 3.5. 但是,web.config中有一些配置可以限制网站在框架版本3.5下运行或编译。 Visual Studio by default make these setting in web.config Visual Studio默认情况下在web.config中进行这些设置

To be sure here are some parts of the web.config 确保这是web.config的某些部分

编译器版本设置


一些集会

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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