.NET 3.5 功能在 Windows Server 2008 中不可用 - 唯一的选项是 3.0
我需要在 Windows Server 2008 中安装一个应用程序。它需要 .NET 3.5 或更高版本,运行 Windows Update 后我已经安装了 4.0 版本。但是,在“添加功能”中,我唯一的选择是添加 .NET Framework 3.0。有人知道这里发生了什么事吗?
I have an application I need to install in Windows Server 2008. It requires .NET 3.5 or higher and after running Windows Update I've got version 4.0 installed. However, in 'Add Features' the only option I have is to add .NET Framework 3.0. Anyone have an idea of what's going on here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这有点偏离直接回答您的问题,但可能会间接回答它...
在工作中,我们的服务器仅允许选择 .NET
1.1
和2.0.50727.4927
(来自在 IIS 的 ASP.NET 选项卡中)。但是,我们确实运行3.5
网站(我认为3.0
从未单独安装过)。但如何呢?嗯,我相信这是因为这是前两个版本,它们之间在框架的核心方面有很大的区别 - 这意味着您必须选择
CLR
的版本来区分适当地(这就是这些服务器值所代表的);尽管在3.5
中,实际上只是构成框架的一些外围库发生了变化,并且它们都可以使用2.0
CLR
加载代码>,因此它们是。长话短说:不管它看起来如何告诉您,选择 IIS 中的
2.0
CLR
允许您在任何地方运行应用程序您环境中的3.5
。只需确保您知道应用程序是针对哪个
CLR
版本开发的,并选择正确的版本即可。来自维基百科:
This is a little diverted from answering your question directly, but may answer it indirectly...
At work our server only allows selection of .NET
1.1
and2.0.50727.4927
(from within IIS' ASP.NET tab). However, we do run3.5
websites (3.0
was never installed individually, I think).But how? Well, I believe it to be because those are the first two versions which, between them, have a substantial difference in the core of the framework - which means you have to select the version of the
CLR
to differentiate appropriately (which is what these server values represent); though with3.5
it is actually only a number of peripheral libraries which make up the framework that have changed, and they can all be loaded using the2.0
CLR
, therefore they are.Long story short: despite what it looks like it is telling you, selection of the
2.0
CLR
in IIS allows you to run applications anywhere up to3.5
within your environment.Just make sure you know which
CLR
version the application has been developed for and select the correct one.From Wikipedia:
另外,如果您安装了 .NET 4.0(完整版本,而不仅仅是客户端配置文件),您也会自动安装所有旧版本。
Also, if you have .NET 4.0 (the full version, not just the Client Profile)installed, you automatically have every older version as well.