简体   繁体   English

IIS7:为什么我不能选择v3.5 .net Framework?

[英]IIS7: Why can't i Choose v3.5 .net Framework?

The only choices for the application pools are .net 2.0 or 4.0, but my machine is running on 3.5. 应用程序池的唯一选择是.net 2.0或4.0,但是我的机器在3.5上运行。

I am currently getting a 我目前正在

system.platformnotsupportedexeception 系统。平台不支持的感知

in an app that i built, and i think it might be related to this issue. 在我建立的应用程式中,我认为可能与这个问题有关。

Keep in mind, there is no 3.5 version of the .NET runtime - only a 3.5 version of the .NET Framework. 请记住,没有.NET运行时的3.5版本-只有.NET Framework的3.5版本。 The CLR itself is either 2.0 or 4.0. CLR本身是2.0或4.0。 Why they have weird versioning is beyond me (I guess there were no runtime modifications to support the 3.5 framework), but the framework versions are different than the runtime versions. 他们为什么会有怪异的版本控制(我想没有支持3.5框架的运行时修改),但是框架版本与运行时版本不同。

.NET 3.5 has the same base runtime as .NET 2.0. .NET 3.5与.NET 2.0具有相同的基本运行时。 So in your case, selecting 2.0 is correct. 因此,在您的情况下,选择2.0是正确的。

See this similar question . 看到类似的问题

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

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