开发者

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

开发者 https://www.devze.com 2023-02-08 06:10 出处:网络
When I need functions from .NET 3.5 SP1 on a system lacking it, is it safe to inst开发者_Python百科all .NET 4, or do I need to install .NET 3.5 SP1 also?.NET 4.0 have no relations to .NET 3.5 (.NET 2.

When I need functions from .NET 3.5 SP1 on a system lacking it, is it safe to inst开发者_Python百科all .NET 4, or do I need to install .NET 3.5 SP1 also?


.NET 4.0 have no relations to .NET 3.5 (.NET 2.0 runtime). It has its own runtime, .NET 4.0 completely separate from .NET 3.5 and lower .NET versions.

So you may install .NET 4.0 without care that you have missing .NET 3.5 SP1. But keep in mind that some applications may require .NET 3.5 SP1. Anyway there is shouldn't be any problems to install .NET 3.5 SP1 later.


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


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.

Because .NET 4.0 runs on a different runtime, you can install it without issue side by side.

If your application will be running on the .NET 4.0 runtime, you do not need to install the service pack.

0

精彩评论

暂无评论...
验证码 换一张
取 消