简体   繁体   English

.NET Framework的精简版

[英]Lite version of .NET framework

Can I find a lite version of the .Net framework which is sufficient only for serving my application? 是否可以找到仅适用于我的应用程序的.Net框架的精简版本?

If I have an application which only uses few classes of .Net, I feel it is not reasonable thing to install the whole components of the entire .Net framework. 如果我有一个仅使用.Net几类的应用程序,我认为安装整个.Net框架的整个组件是不合理的。

Is there any way to just install what exactly I need from the .Net framework? 有什么方法可以直接从.Net框架安装我真正需要的东西?

No, but from .NET 3.5 onwards there's the "client profile" which is considerably smaller than the full framework. 不,但是从.NET 3.5开始,有一个“客户端配置文件” ,它比完整的框架要小得多。 For example, the standalone installer for the .NET 4 client profile is only 41MB. 例如,.NET 4客户端配置文件的独立安装程序只有41MB。

Hanselman制作了一个不错的网站,解释了所有选项,但从根本上讲,您需要安装最少的客户端配置文件。

There is nothing such as a "light version" of the .Net framework. .Net框架没有“精简版”之类的东西。 Your best option is to use the client profile. 最好的选择是使用客户端配置文件。

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

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