[英]If I have .NET Framework 2.0 and .NET Framework 3.5, do I need .NET Framework 3?
Say I have .NET Framework 2.0, 3.0, 3.5 installed for an Asp.NET web application. 说我已经为Asp.NET Web应用程序安装了.NET Framework 2.0、3.0、3.5。
I realize that Framework 3.0 and 3.5 are just extensions to Framework 2, what is less clear is how 3.0 and 3.5 interrelate. 我意识到Framework 3.0和3.5只是对Framework 2的扩展,尚不清楚的是3.0和3.5是如何相互关联的。
Am I safe uninstalling Framework 3 if the Asp.NET application targets 3.5? 如果Asp.NET应用程序针对3.5,我可以安全卸载Framework 3吗?
Those three versions share the same CLR version (2.0) and each new version just adds new features not available in the previous version. 这三个版本共享相同的CLR版本(2.0),并且每个新版本仅添加了以前版本中不可用的新功能。 This basically means 3.0 depends on 2.0 and 3.5 depends on 3.0 and 2.0 so uninstalling 3.0 is not possible unless you also uninstall 3.5.
这基本上意味着3.0依赖于2.0,而3.5依赖于3.0和2.0,因此除非您也卸载3.5,否则无法卸载3.0。
For detailed information about .NET Framework version you can check out: 有关.NET Framework版本的详细信息,您可以签出:
.NET Framework Versions and Dependencies .NET Framework版本和依赖关系
.Net 3.0 introduced WCF, WPF and WF, extra libraries really working on top of the 2.0 runtime. .Net 3.0引入了WCF,WPF和WF,其他真正在2.0运行时之上运行的库。
.Net 3.5 introduced upgrades to these libraries and comes with support for Linq (new language features). .Net 3.5引入了对这些库的升级,并附带了对Linq(新语言功能)的支持。
You can safely uninstall 3.0, and replace it with 3.5, as 3.5 covers the libraries introduced in 3.0. 您可以安全地卸载3.0,并将其替换为3.5,因为3.5涵盖了3.0中引入的库。 Check out this page at wikipedia for more information on the versions and what they bring to the table.
在Wikipedia上查看此页面,以获取有关版本及其带来的更多信息。
When you install 3.5 you will get a 3.0 folder in your framework folder (along with all other versions). 当您安装3.5时,您将在Framework文件夹中获得3.0文件夹(以及所有其他版本)。
Yes. 是。 But, as a rule, the framework is designed to support having multiple versions installed simultaneously.
但是,通常,该框架旨在支持同时安装多个版本。 I'd leave it be unless space is a real issue.
除非空间是一个真正的问题,否则我将保持现状。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.