简体   繁体   English

如果我具有.NET Framework 2.0和.NET Framework 3.5,是否需要.NET Framework 3?

[英]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.

相关问题 .NET Framework 3.5是否有HsbToRgb转换器,还是需要自己编写? - Does the .NET Framework 3.5 have an HsbToRgb converter or do I need to roll my own? 在.Net Framework 2.0中使用.Net Framework 3.5功能 - Using .Net framework 3.5 features in .Net framework 2.0 我是否需要.NET Framework 2.0 SDK才能使用基于.NET的编译器从命令行进行编译 - Do i need .NET framework 2.0 SDK to compile from command line with .NET based compiler 如何强制IE使用.net Framework 3.5加载网站? - How do I force IE to load site with .net framework 3.5? 如何在Windows 7中配置.net framework 3.5 - How do I configure .net framework 3.5 in windows 7 .NET 3.5 dll not found on .NET 2.0 Windows Server 2003. Should I manually add this dll to GAC or need to install .NET Framework 3.5? - .NET 3.5 dll not found on .NET 2.0 Windows Server 2003. Should I manually add this dll to GAC or need to install .NET Framework 3.5? 如果安装了3.5,是否需要.net framework 2.0? - Is .net framework 2.0 required if 3.5 is installed? .NET Framework 3.5中的OleDbPermission - OleDbPermission in .NET Framework 3.5 安装程序需要.NET Framework v1.1.4322-但我已经拥有所有框架1.0、1.1、2.0、3.0和3.5! - Setup requires .NET Framework v1.1.4322 - but i already have all frameworks 1.0, 1.1, 2.0, 3.0 and 3.5 ! 如何使用.NET Framework 2.0重新分发Windows Imaging Component? - How do I redistribute Windows Imaging Component with .NET Framework 2.0?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM