Kiran Chuahan
Kiran Chuahan

Reputation: 119

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.

Upvotes: 4

Views: 2207

Answers (3)

Chandraprakash
Chandraprakash

Reputation: 946

Right click Wix Project and go to Properties, Build → Output → (Check) Suppress output of the wixpdb files

enter image description here

Upvotes: 6

Kiran Chuahan
Kiran Chuahan

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

Ritmo2k
Ritmo2k

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

Related Questions