DotNet应用程序不能在其他WinXp SP2系统上运行 [英] DotNet application can not be run on other WinXp SP2 systems

查看:73
本文介绍了DotNet应用程序不能在其他WinXp SP2系统上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过取消选中所有先决条件来部署了我的桌面应用程序,但是它仍然不能在其他非DOT NET WinXp系统上运行.如果没有SQL2005,它也将不起作用.

请告诉我如何在任何PC上发布它.

I have deployed my Desktop application by un-check all the prerequisites but it still can not be run on other non DOT NET WinXp systems. It also does not work without SQL2005.

Please tell me how to publish it for any PC?

推荐答案

对不起...您是说在您的媒体资源中,未经检查的要求先决条件?没有这些,该应用程序将无法运行.这就是为什么它们被称为先决条件.它们是必需的,然后才能运行.

因此,如果您要安装的系统没有它们,它将不会运行,并且不会给您安装错误,因为您告诉它不需要它们.
I''m sorry...are you saying that in your properties, you''ve unchecked requiring the prerequisites? Without those, the application won''t run. That''s why they are called prerequisites. They are required before it can run.

So, if the system you are installing it on doesn''t have them, it won''t run and it won''t give you an error in the installation because you told it not to required them.


如果您需要一种确保备份与.NET Framework某些较旧版本兼容的解决方案(从后续问题中可以了解到),则可以使用Visual Studio v.2008或更高版本,使您能够为所有程序集选择一个目标.

转到项目的属性,首先选择应用程序"选项卡,然后查看组合框控件目标框架".

如果由于某种原因将产品部署到未安装目标框架(或兼容的更高版本的Framework)的计算机上,则该产品将无法工作.同样,部署与安装一起可重新分发的Framework也很容易-您将在Google上找到有关此技术的足够信息.

—SA
If you need a solution which ensure backup compatibility with some older versions of .NET Framework (as I can understand from your follow-up Question), you can use Visual Studio v.2008 or later which enables you to select a target for all your assemblies.

Go to your project''s properties, first tab "Application" and see the combo box control "Target Framework".

If by some reason you deploy your product to the computer where your target framework is not installed (or compatible later version of Framework), you product will not work. Also it is easy enough to deploy Framework re-distributable with your installation — you will find enough information on this technique it you Google for it.

—SA


这篇关于DotNet应用程序不能在其他WinXp SP2系统上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆