简体   繁体   English

部署网络GUI应用程序时会遇到什么问题(在winxp / vista / 7上)

[英]what problems to expect when deploying net GUI application (on winxp/vista/7)

i like to build .net GUI application and to be able to deploy it on wide windows version as possible for non teachi persons , what should i be planning before i start to write the code like which minimum net version to compile which GUI to use ? 我喜欢构建.net GUI应用程序,并能够将其尽可能地用于非教员在宽Windows版本上部署,在开始编写代码(如编译哪个GUI的最小网络版本)之前,我应该计划什么? include the .net framework in the installation or not ? 是否在安装中包括.net框架? to include net framework checker in the installation and such . 在安装等中包括Net Framework Checker。 i like to avoid as much as posible porting , the application is simple GUI application ( think outlook express kind of application ) 我喜欢尽可能避免可能的移植,该应用程序是简单的GUI应用程序(认为Outlook Express是一种应用程序)
experts what do you think ? 专家您怎么看?

The decision whether to include the .NET redistributables depends on whether you expect your users to have Internet access on installation or not. 是否包含.NET可再发行文件的决定取决于您是否希望用户在安装时可以访问Internet。 If they are online, you can include a Bootstrapper that will download all requirements (there's one on codeproject.com, I think). 如果它们在线,则可以包括一个Bootstrapper,它将下载所有需求(我认为在codeproject.com上有一个需求)。 If they are more likely to be offline, just include the redistributables. 如果他们更有可能处于脱机状态,则只需包括可再发行产品即可。 You may want to include the Client Profile, though there's no supported Offline version - but you can easily extract the installers from the full package (it's about 22MB then). 尽管没有受支持的脱机版本,但您可能希望包括客户端配置文件-但是您可以轻松地从完整软件包中提取安装程序(那时该软件包约为22MB)。

Go with Windows Forms if you don't actually need WPF. 如果您实际上不需要WPF,请使用Windows窗体。 This way, you can stick with .NET 2.0 (and can support Windows 2000). 这样,您可以坚持使用.NET 2.0(并可以支持Windows 2000)。 If Windows Forms is not enough or you really, really need LINQ, go with the 3.5 Client Profile. 如果Windows Forms还不够,或者您确实非常需要LINQ,请使用3.5客户端配置文件。

On the other hand, utilities for many games are written in Windows Forms with .NET 2.0 and simply require the framework, which seems to go well enough with average users. 另一方面,许多游戏的实用程序都是用.NET 2.0的Windows窗体编写的,只需要该框架即可,对于普通用户来说似乎已经足够了。 Remember that Vista has 3.0 pre-installed, and Seven has 3.5 SP1 pre-installed. 请记住,Vista已预安装了3.0,而Seven已预安装了3.5 SP1。 XP installations may have 2.0 from some application or Windows Update. XP安装可能包含来自某些应用程序或Windows Update的2.0。

Depending on how fancy you want to make your code, you can either stick with .net 2.0 or do .net 3.5. 根据您想要制作代码的方式,可以使用.net 2.0或使用.net 3.5。 You only need the latter if you're going to use the features of .net 3.5 (WPF/WCF/etc). 如果您要使用.net 3.5的功能(WPF / WCF / etc),则仅需要后者。

Also think about any additional external libraries you might want to use (persistence for example). 还请考虑您可能要使用的任何其他外部库(例如,持久性)。

However, if you use the Visual Studio installation project, then VS will arrange most of the stuff for you. 但是,如果您使用Visual Studio安装项目,则VS将为您安排大部分工作。

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

相关问题 部署小型.NET 3.5应用程序时出现问题 - Problems when deploying small .NET 3.5 apps 部署商业桌面.NET应用程序有哪些选择? - What are the options for deploying a commercial desktop .NET application? 通过FTP部署.Net Web应用程序时遇到问题 - Having problems deploying my .Net web application via FTP 部署.NET应用程序时出现InvalidDeploymentException错误 - InvalidDeploymentException error when deploying .NET Application 与.NET应用程序一起部署SQLite时的清单 - Checklist when deploying SQLite with .NET application 部署 .NET 应用程序时 - 您如何找出共享相对于运行应用程序的计算机所在的区域? - When deploying .NET applications - how do you find out what zone a share is in relative to the computer running the application? 最初具有WindowState ==的.NET App已最小化,但显示在Vista / Windows7的taskmgr-> applications选项卡中,但未显示在WinXP上 - .NET App which has initial WindowState == Minimized, but shows up in the taskmgr->applications tab on Vista/Windows7 but NOT on WinXP 在Vista中使用应用程序安装(激活).NET 3.0 Framework - Install (activate) .NET 3.0 Framework with an application in Vista 部署Winforms应用程序时的小问题 - Minor problems in deploying Winforms application 在 AWS 上部署 .NET 应用程序 - Deploying .NET application on AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM