.Net Framework 4.0 安装程序是否包含 .Net Framework 3.5? [英] Does the .Net Framework 4.0 Installer include the .Net Framework 3.5?

查看:37
本文介绍了.Net Framework 4.0 安装程序是否包含 .Net Framework 3.5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

针对 .Net Framework 3.5 编译的 .Net 组件是否可以在仅安装了 .Net Framework 4.0 的系统上运行?

Do .Net components that were compiled against the .Net Framework 3.5 run on a system that has only .Net Framework 4.0 installed?

或者换句话说,.Net Framework 4.0 安装程序是否包含 .Net Framework 3.5?

Or in other words, does the .Net Framework 4.0 Installer include the .Net Framework 3.5?

推荐答案

.NET 4.0 安装程序不包括 .NET Framework 3.5.MSDN 中有有关此主题的一些信息:

The .NET 4.0 installer doesn't include the .NET framework 3.5. There is some information on this topic in MSDN:

.NET Framework 4 与使用早期 .NET Framework 版本构建的应用程序高度兼容,但为了提高安全性、标准合规性、正确性、可靠性和性能而进行的一些更改除外.

The .NET Framework 4 is highly compatible with applications that are built with earlier .NET Framework versions, except for some changes that were made to improve security, standards compliance, correctness, reliability, and performance.

.NET Framework 4 不会自动使用其公共语言运行时版本来运行使用早期版本的 .NET Framework 构建的应用程序.要使用 .NET Framework 4 运行较旧的应用程序,您必须使用在 Visual Studio 中项目的属性中指定的目标 .NET Framework 版本来编译您的应用程序,或者您可以使用 元素在应用程序配置文件中.

The .NET Framework 4 does not automatically use its version of the common language runtime to run applications that are built with earlier versions of the .NET Framework. To run older applications with .NET Framework 4, you must compile your application with the target .NET Framework version specified in the properties for your project in Visual Studio, or you can specify the supported runtime with the <supportedRuntime> Element in an application configuration file.

您可以同时安装 .NET 3.5 和 .NET 4.0.Visual Studio 2010 还包括对 .NET 3.5 的改进目标支持.ScottGu 的博客更详细地讨论了这一点.

You can install .NET 3.5 and .NET 4.0 along side each other. Visual Studio 2010 also includes improved targetting support for .NET 3.5. ScottGu's blog talks about this in more detail.

这篇关于.Net Framework 4.0 安装程序是否包含 .Net Framework 3.5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆