gpt4 book ai didi

.net - Microsoft .NET 4.0 完整框架和客户端配置文件之间的差异

转载 作者:行者123 更新时间:2023-12-03 03:25:08 27 4
gpt4 key购买 nike

Microsoft .NET Framework 4.0 完整安装程序(32 位和 64 位)为 48.1 MB,客户端配置文件安装程序为 41.0 MB。提取的安装文件分别为 237 MB 和 194 MB,安装后分别为 537 MB 和 427 MB。

相差 110 MB。这两个包有什么区别?

什么时候最好安装客户端配置文件而不是完整的 .NET Framework?

最佳答案

What's new in .NET Framework 4 Client Profile RTM解释了许多差异:

When to use NET4 Client Profile and when to use NET4 Full Framework?
NET4 Client Profile:
Always target NET4 Client Profile for all your client desktop applications (including Windows Forms and WPF apps).

NET4 Full framework:
Target NET4 Full only if the features or assemblies that your app need are not included in the Client Profile. This includes:

  • If you are building Server apps. Such as:
    o ASP.Net apps
    o Server-side ASMX based web services
  • If you use legacy client scenarios. Such as:
    o Use System.Data.OracleClient.dll which is deprecated in NET4 and not included in the Client Profile.
    o Use legacy Windows Workflow Foundation 3.0 or 3.5 (WF3.0 , WF3.5)
  • If you targeting developer scenarios and need tool such as MSBuild or need access to design assemblies such as System.Design.dll

但是,as stated on MSDN ,这与 >=4.5 无关:

Starting with the .NET Framework 4.5, the Client Profile has been discontinued and only the full redistributable package is available. Optimizations provided by the .NET Framework 4.5, such as smaller download size and faster deployment, have eliminated the need for a separate deployment package. The single redistributable streamlines the installation process and simplifies your app's deployment options.

关于.net - Microsoft .NET 4.0 完整框架和客户端配置文件之间的差异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2759228/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com