您需要同时安装 .net 3.5 和 4.0 还是只需要安装 .net 4? [英] Do you need both .net 3.5 and 4.0 installed or just .net 4?
问题描述
要同时运行 3.5 和 4.0 网络应用程序?
我记得曾经读过一篇来自 Microsoft 的文章说:
<块引用>".NET 4.0 并排添加进程内与早期版本的兼容性框架.此功能允许申请流程同时使用 .NET 运行其部分代码公共语言运行时 (CLR) 4 和使用旧版本的其他部分CLR."
因此,如果您的应用程序使用两者的功能,或者您有使用 .NET 3.5 和 .NET 4.0 的单独 Web 应用程序,那么要回答您的问题,您只需要两者.
.NET 4.0 本身应该没问题,只要您可以将 3.5 应用程序升级到 4.0.此页面有一些有用的信息.>
这是我读到的.
to run both 3.5 and 4.0 web apps?
I remember reading something once from Microsoft that stated:
".NET 4.0 adds in-process side-by-side compatibility with earlier versions of the Framework. This feature allows an application process to simultaneously run part of its code using the .NET Common Language Runtime (CLR) 4 and other parts using older versions of the CLR."
So to answer your question you only need both if your application uses features from both or altenatively you have separate web applications that use .NET 3.5 and .NET 4.0.
.NET 4.0 should be fine by itself, as long as you can upgrade your 3.5 applications to 4.0. This page has some useful infrmation.
Heres where I read it.
这篇关于您需要同时安装 .net 3.5 和 4.0 还是只需要安装 .net 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!