简体   繁体   English

如果缺少.NET 3.5 SP1,我可以直接安装4吗?

[英]If .NET 3.5 SP1 is missing, can I install 4 directly?

当我在缺少它的系统上需要.NET 3.5 SP1的功能时,安装.NET 4是否安全,或者我是否还需要安装.NET 3.5 SP1?

.NET 4.0 have no relations to .NET 3.5 (.NET 2.0 runtime). .NET 4.0与.NET 3.5(.NET 2.0运行时)无关。 It has its own runtime, .NET 4.0 completely separate from .NET 3.5 and lower .NET versions. 它有自己的运行时,.NET 4.0完全独立于.NET 3.5和较低的.NET版本。

So you may install .NET 4.0 without care that you have missing .NET 3.5 SP1. 因此,您可以安装.NET 4.0,而不必担心您缺少.NET 3.5 SP1。 But keep in mind that some applications may require .NET 3.5 SP1. 但请记住,某些应用程序可能需要.NET 3.5 SP1。 Anyway there is shouldn't be any problems to install .NET 3.5 SP1 later. 无论如何,以后安装.NET 3.5 SP1应该没有任何问题。

short response: yes, it's compatible 简短的回答:是的,它是兼容的

long response: if you plan to install it on a customer computer, ensure it's policy does allow this version (big company sometimes need to approve each version of an application before installing it). 长响应:如果您打算在客户计算机上安装它,请确保它的策略允许此版本(大公司有时需要在安装之前批准每个版本的应用程序)。

[edit] it's compatible but require a tigh modification in the config file http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/08/03/installing-net-framework-v4-0-and-running-net-2-0-3-0-3-5-3-5sp1-applications.aspx [编辑]它兼容但需要在配置文件中进行严格修改http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/08/03/installing-net-framework-v4-0-and-running-净2-0-3-0-3-5-3-5sp1-applications.aspx

If your application targets the .NET 2.0 runtime (used by .NET 2.0, 3.0 and 3.5) and uses functionality from SP 1 of .NET 3.5, you need to install the service pack. 如果您的应用程序面向.NET 2.0运行时(由.NET 2.0,3.0和3.5使用)并使用.NET 3.5的SP 1中的功能,则需要安装该Service Pack。

Because .NET 4.0 runs on a different runtime, you can install it without issue side by side. 因为.NET 4.0在不同的运行时上运行,所以您可以安装它而不会出现问题。

If your application will be running on the .NET 4.0 runtime, you do not need to install the service pack. 如果您的应用程序将在.NET 4.0运行时运行,则无需安装该Service Pack。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM