.NET Framework版本问题版本、问题、NET、Framework

2023-09-03 15:31:49 作者:难免失落

我使用IIS 7.0 + Windows Server 2008的64位。我有我的机器上安装了.NET Framework 3.5,但是从IIS 7.0应用程序池.NET框架的设置,我可以只设置版本1.0或2.0版。为什么我不能设置为版本3.5版 - 这是.NET框架我安装我的机器上的最新版本

I am using IIS 7.0 + Windows Server 2008 x64. I have installed .NET Framework 3.5 on my machine, but from the IIS 7.0 application pool .NET framework settings, I could only set version to v1.0 or v2.0. Why can't I set to version v3.5 -- which is the latest version of .NET framework I installed on my machine?

推荐答案

要回答这个注释George2已经离开到其他每个答案的一个地方:

To answer the comment that George2 has left to each of the other answers in one place:

是的。通用语言的运行是需要为2.0(也不能,目前,更高,因为这是最新的在这个时候)。

Yes. The Common Language Runtime is what needs to be 2.0 (and cannot, currently, be higher, since that's the latest at this time).

是的。你可以把.NET框架的SDK,如果这使得它更容易。这不是很准确,但是....

Yes. You can think of the .NET Framework as the SDK if that makes it easier. It's not quite accurate, but....

是的。您将被部署框架上的CLR 2.0 3.5功能。令人困惑,但这是微软为您服务。他们这样做(一些)伟大的工作,但是的似乎的快乐建立在混淆用户任意版本。

Yes. You will be deploying your Framework 3.5 functionality on the CLR 2.0. Confusing, but that's Microsoft for you. They do (some) great work, but seem to delight in confusing users with arbitrary versioning.