请问.Net框架4.0安装程序包括.NET Framework 3.5的? [英] Does the .Net Framework 4.0 Installer include the .Net Framework 3.5?

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

问题描述

做的是编译的.NET Framework 3.5的运行系统只具有.Net框架4.0安装?对.NET组件

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框架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框架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框架版本的应用程序,也可以指定使用的 < supportedRuntime> 元素在应用程序配置文件

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改进目标定位的支持。 <一href="http://weblogs.asp.net/scottgu/archive/2009/08/27/multi-targeting-support-vs-2010-and-net-4-series.aspx">ScottGu's博客这个会谈的细节。

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框架4.0安装程序包括.NET Framework 3.5的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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