WiX 3.11热配置开关有什么作用?

问题描述 投票:0回答:1

当您在没有命令行开关的情况下运行 WiX heat 工具时,它表示它支持

-configuration
开关:

Options:
   -ag      autogenerate component guids at compile time
   -cg <ComponentGroupName>  component group name (cannot contain spaces e.g -cg MyComponentGroup)
   -configuration  configuration to set when harvesting the project
   . . . 

我的问题是:

-configuration
开关实际上有什么作用?谷歌无法告诉我更多有关它的信息。

wix
1个回答
0
投票

配置开关允许您设置项目文件中定义的构建配置(通常是发布和调试,但您可以定义自定义配置)。项目中与构建配置相关的任何条件属性和项目都将被考虑进行收获。

© www.soinside.com 2019 - 2024. All rights reserved.