使用 votive 时如何将额外的 WXS 文件传递​​给蜡烛?

发布于 2024-09-29 04:04:04 字数 178 浏览 2 评论 0原文

当使用 Votive 从 Visual Studio 构建 WIXLIB 时,如何指定在何处查找不属于 Visual Studio 项目(也不属于引用项目的一部分)的其他 WXS 文件?

我不想将 WXS 文件添加到项目中,因为它们在构建过程中由 heat.exe 更新,因此需要保持可编辑状态(即,无法使用项目的其余部分)。

When building a WIXLIB from Visual Studio using Votive, how do you specify to candle where to find additional WXS files that are not part of the Visual Studio project (and are also not part of a referenced project)?

I do not want to add the WXS files to the project because they are updated by heat.exe during the build process, and therefore need to remain editable (i.e., they cannot be added to source control with the rest of the project).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此岸叶落 2024-10-06 04:04:04

我建议您为热生成的文件创建一个单独的 wixlib,然后将该 wixlib 链接到最终的安装程序中,而不是尝试破解项目文件以添加生成的文件。事实上,使用 Wix MsBuild 任务 来执行你的热度应该非常容易任务,然后获取 heat 任务的输出并将其直接传递到 CandleTask 中。

I would suggest that you just create a separate wixlib for your heat-generated files and then link that wixlib into your final installer, rather than trying to hack the project file to add your generated files. In fact it should be pretty easy to use the Wix MsBuild tasks to perform your heat task, and then take the output of the heat task and pass that directly into the CandleTask.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文