Search code examples
wixwix3

How to stop generating wixpdb file in wix setup project?


Is there any configuration available to stop generation of wixpdb file. Since we do not require that file during deployment.


Solution

  • Just add as per below in your .wixproj file.

    <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>