如何停止在wix安装项目中生成wixpdb文件?

Kir*_*han 3 wix wix3

是否有任何配置可用于停止生成 wixpdb 文件。因为我们在部署期间不需要该文件。

Kir*_*han 5

只需按照以下内容添加到您的 .wixproj 文件中。

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     <OutputPath>bin\$(Configuration)\</OutputPath>
     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
     <-- Just Add below line to avoid generation of wixpdb file -->
     <SuppressPdbOutput>true</SuppressPdbOutput>
</PropertyGroup>
Run Code Online (Sandbox Code Playgroud)


Cha*_*ash 5

右键单击 Wix 项目并转到“属性”,\nBuild \xe2\x86\x92 输出 \xe2\x86\x92 (选中)禁止输出 wixpdb 文件

\n\n

在此输入图像描述

\n