清理 VS2010 WiX 安装程序项目
我有一个 VS2010 解决方案,其中包含 WiX 3.5(测试版)Votive 项目(以及我正在安装的程序的所有项目)。当我清理 VS 解决方案时,所有程序项目都会得到正确清理,但 WiX 项目不会 - wixobj、wixpdb 和 msi 文件不会被删除。
所以我的问题是:
我所看到的行为是预期的吗?
如果是这样,我该怎么做才能在清理解决方案时删除这些文件?
I have a VS2010 solution with a WiX 3.5 (beta) Votive project, (as well as all the projects for the program that I am installing). When I clean the VS solution all of the program projects get properly cleaned, but the WiX project does not - the wixobj, wixpdb and msi files are not deleted.
So my questions are:
Is what I am seeing expected behavior?
If so what can I do so that these files are deleted when I clean the solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
要纠正这种行为,我认为你应该直接修改 wixproj 文件。打开此文件,查看目标名称=“Clean”并将其更改为:
To correct this behaivor, I think you should modify directly wixproj file. Open this file look at Target Name = "Clean" and change this to:
我认为这种行为是不正确的。但您也可以在 WiX 3.0 RTM 上找到相同的行为。
我的所有产品构建都是自动化的,并且我通过以下(明显的)步骤遇到了这个问题:
I think that this behavior is not correct. But you can find the same behavior on WiX 3.0 RTM too.
I have all my product build automated, and I have faced this issue with the following (obvious) steps:
以下作品也在一行中
Following works in one line also