gpt4 book ai didi

.net - 具有项目收集类型的Wix heat.exe

转载 作者:行者123 更新时间:2023-12-03 21:35:31 26 4
gpt4 key购买 nike

我正在使用Wix 3.5的最新版本,并尝试使用heat.exe生成片段文件。命令行是:

"%WIX%\bin\heat.exe" project "MyProj.csproj" -pog Binaries -pog Content -suid -directoryid 
INSTALLLOCATION -ag -template fragment -out "Files.wxs"

我遇到的问题是生成的文件中缺少我的项目所依赖的程序集。这是预期的行为吗?如何添加它们?

我应该使用 dir收获类型吗?然后如何删除* .pdb或* .vshost.exe?

我想将其与CI Server(TeamCity)一起使用

编辑:
我尝试了 -pog Satellites,但也无法正常工作

最佳答案

不幸的是,这是WiX的一个已知问题:

Heat doesn't harvest referenced assemblies

从错误注释中,看起来支持将在WiX 4.0中添加。

关于.net - 具有项目收集类型的Wix heat.exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3628753/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com