生成引导程序时出错 [英] An Error occurred generating a bootstrapper
问题描述
我正在使用Visual Studio 2010 Premium的全新安装。
I am using a fresh install of Visual Studio 2010 Premium.
上周,我能够发布我的项目,包括用于先决条件的setup.exe
Last week, I was able to Publish my project including the setup.exe for prerequisites
星期一,我将我的应用程序的目标框架升级到4.0(从3.5SP1开始)
Monday, I upgraded the Target Framework of my application to 4.0 (From 3.5SP1)
没有检测到任何问题,我仍然可以构建和启动应用程序在Visual Studio中。
No problems were detected and I was still able to build and launch the application from within Visual Studio.
今天我尝试发布我的解决方案的新版本。 如果我尝试让发布包含一个setup.exe来分发必备文件,它就不起作用。
Today I tried to publish a new version of my solution. It doesn't work if I try to have the publishing include a setup.exe to distribute prerequisite files.
我关闭了所有内容,重新启动了,并创建了一个空白项目(windows窗体)Net 4.0 。
I closed everything, rebooted, and created a blank project (windows form) Net 4.0.
如果我尝试发布它,除非我选中"创建安装程序以安装必备组件",否则它将起作用。 在这种情况下,我得到了跟随错误。
If I try to publish it, it works unless i check "Create setup program to install prerequisite components". In that case I get the following error.
错误 2 生成引导程序时出错:无法开始更新bin \Debug \app.publish \ setup的资源。 exe错误80070002 TESTPUBLISH
Error 2 An error occurred generating a bootstrapper: Unable to begin updating resource for bin\Debug\app.publish\setup.exe with error 80070002 TESTPUBLISH
我的操作系统是Windows 7 x64。
My OS is Windows 7 x64.
任何人都知道发生了什么事吗?
Anyone has any idea what is going on ?
ETA:
我从我的电脑上卸载了VS2010并重新安装了一份新的副本......同样的错误 在我拥有的另一台机器上,相同版本的VS2010,相同的操作系统,没有问题......
I uninstalled VS2010 from my computer and reinstalled a fresh copy... Same error. On another machine I have, same version of VS2010, same operating system, no problems....
MCAD 2005
MCAD 2005
推荐答案
< p style ="margin:0in 0in 0pt"> 嗨Fred,
>如果我尝试发布它,它将起作用,除非我选中"创建安装程序以安装必备组件"。在这种情况下,我收到以下错误。
检查“ 创建安装程序以安装必备组件”会导致错误或取消选中它会导致错误吗?
Check the “Create setup program to install prerequisite components” will cause error or Uncheck it will cause error?
此致,
Kira Qian
这篇关于生成引导程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!