.NET框架4全和Net Framework 4的客户端配置文件定位配置文件、客户端、框架、NET

2023-09-04 09:03:07 作者:来不及说爱你

我想针对我的.NET应用程序.NetFramework 4(客户端配置文件),但后来我认识到一个第三方控件使用System.Design实现自定义的控制。

I wanted to target my .net application to .NetFramework 4(Client Profile) but later i recognized that a 3rd party control uses System.Design for implementing custom control.

现在即时通讯关注的用户,大多数都会有.Net框架4客户端配置文件安装在他们的系统,而不是.Net框架4完整。请问用户觉得讨厌下载并安装了完整的框架。但是,只是一个很小的大小差异客户端 - 41MB和全48 MB。

Now im concerned about the users, as most will have .Net Framework 4 Client Profile installed on their system rather than .Net Framework 4 Full. Will the users find it annoying to download and install the Full Framework. But there is only a minor size difference client- 41mb and full- 48 mb.

完成大部分.NET应用程序只需要客户端配置文件?也有使用的ControlDesigner类在C#中使用客户端配置文件的替代方法。

Does most .net applications require client profile only? Also is there a alternative way to use ControlDesigner class in c# with client profile.

请帮我了。

推荐答案

您只需要选择完整的.NET 4框架为目标框架。试图采取任何捷径各地,是要炸毁在你的脸上。那么,你的用户的脸最重要的。

You simply need to select the full .NET 4 framework as the Target Framework. Trying to take any shortcut around that is going to blow up in your face. Well, your user's face most of all.

这仅仅是没有问题的。安装项目需要确保正确的配置文件可在用户的计算机上。这确实的没有的涉及48兆字节的下载,如果她已经有​​客户端配置文件中,.NET安装程序仅下载缺少的部分。

This just isn't a problem. Your Setup project needs to ensure that the right profile is available on the user's machine. Which does not involve a 48 megabyte download if she already has the Client profile, the .NET installer only downloads the missing pieces.