.NET Framework 4的客户端配置文件+ System.Web.dll程序?配置文件、客户端、程序、Framework

2023-09-02 21:46:57 作者:眉间热忱

我目前正在开发的.NET 4客户端配置文件的应用程序,因为这是将通过Windows Update。

在大多数家用电脑present版本

不过,我不能添加的引用 System.Web.dll中,因为它没有在这个版本存在? - 我该怎么办

时它来部署System.Web.dll中伴随着我的应用程序是个好主意,还是会不工作?我真的需要HTTP连接和所有的,所以我不能改变我的应用程序作为一种解决方法。瞄准我的应用程序到.NET 4(无客户端配置文件),也许可能还是会说只是没有计算机,只有在客户端配置文件工作?

解决方案   

.NET 4客户端配置文件,因为这是   版本将在最present   通过Windows Update家用电脑

不是真的。 .NET 4(客户端配置文件或不)是目前没有在任何Windows安装在默认情况下present。例如,Windows 7自带.NET 3.5 SP1,而不是.NET 4.0。有可能是一个窗口的更新,但它是可选的。

因此​​,您不妨针对完整的.NET 4的框架。

I'm currently developing an application for .NET 4 Client Profile, as this is the version that will be present on most home computers through Windows Update.

However, I cannot add a reference to System.Web.dll as it does not exist in this version - what should I do?

谁能帮我看看,这个软件怎么安装 NET Framework 4,

Is it a good idea to deploy System.Web.dll along with my application, or won't that work? I really need HTTP connections and all, so I cannot modify my application as a workaround. Is targeting my application to .NET 4 (no client profile) perhaps a possibility or will that just not work on computers with only the Client Profile?

解决方案

NET 4 Client Profile, as this is the version that will be present on most home computers through Windows Update

Not really. .NET 4 (client profile or not) currently isn't present on any Windows installation by default. For example, Windows 7 comes with .NET 3.5 SP1, not .NET 4.0. There may be a windows update, but it is optional.

Therefore, you might as well target the full .NET 4 framework.