Reputation: 119
Is there any configuration available to stop generation of wixpdb file. Since we do not require that file during deployment.
Upvotes: 4
Views: 2207
Reputation: 946
Right click Wix Project and go to Properties, Build → Output → (Check) Suppress output of the wixpdb files
Upvotes: 6
Reputation: 119
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>
Upvotes: 5
Reputation: 1021
See the SuppressPdbOutput setting in the light build task:
Optional boolean parameter.
Specifies that the linker should suppress outputting .wixpdb files. This is
equivalent to the -spdb switch in light.exe.
Upvotes: 4