c#中的部署错误 [英] Deployment error in c#

查看:51
本文介绍了c#中的部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊重所有



我在c#中使用vs 2012创建了一个Windows应用程序,当我尝试发布它时,它显示如下错误:



错误1无法发布,因为项目无法构建。 1 1 WindowsFormsApplication1







Respected all

I have create one windows application in c# with vs 2012 when I try to publish it ,it is shows the error like:

Error 1 Cannot publish because a project failed to build. 1 1 WindowsFormsApplication1

and

Error   2   An error occurred generating a bootstrapper: Unable to finish updating resource for bin\Debug\app.publish\setup.exe with error 8007006E WindowsFormsApplication1





什么是bootstrapper ???我该怎么解决呢....



提前谢谢

推荐答案

我只能回答一个问题,什么是引导程序?。您似乎使用一个或另一个软件工具集<​​/ i>来处理产品安装,它可以帮助您创建通过 Windows Installer 执行的安装程序包(例如.MSI)。



以下是对引导程序的解释,在此上下文中:

http://en.wikipedia.org/wiki/Bootstrapper#Bootstrapper [ ^ ];

另见:

http://msdn.microsoft.com/en-us/library/ms165429.aspx [ ^ ],

http://en.wikipedia.org/wiki/Windows_Installer [ ^ ]。



有关可帮助您了解Microsoft安装技术的更多信息,请从此处开始: http://msdn.microsoft.com/en-us/library/wtzawcsz.aspx [ ^ ]。



(仅供记录:计算中 bootstrapping 的其他含义包括编译器,并且,并不太令人惊讶,操作系统启动过程
至于帮助解决你的问题,我不敢说你的信息远不够,抱歉。首先,您应该遵循Ron Beyer的建议(请参阅问题的评论)。您应该尝试使用Visual Studio或命令行通过MSBuild在安装程序之前构建产品的所有组件。如果它没有编译,你应该收集错误信息并解决问题。



-SA
I can answer only one question, "what is the bootstrapper?". It looks like you deal with the product installation using one or another software toolset which helps you to create setup packages (such as .MSI) which are executed through the Windows Installer.

Here is the explanation of what a bootstrapper is, in this context:
http://en.wikipedia.org/wiki/Bootstrapper#Bootstrapper[^];
see also:
http://msdn.microsoft.com/en-us/library/ms165429.aspx[^],
http://en.wikipedia.org/wiki/Windows_Installer[^].

For more information that should help you to understand the Microsoft installation technology, start here: http://msdn.microsoft.com/en-us/library/wtzawcsz.aspx[^].

(Just for a record: other meanings of bootstrapping in computing include compilers and, not too surprisingly, OS booting process.
As to the help with your problem, I'm afraid to say your information is by far insufficient, sorry. First of all, you should follow the advice by Ron Beyer (please see the comments to the question). You really should try to build all the components of your product before they get to the installer, using either Visual Studio or command line, via MSBuild. If it does not compile, you should collect error information and fix the problem.

—SA


这篇关于c#中的部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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