aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-03-17 21:16:55 -0400
committerBob Arnson <bob@firegiant.com>2020-03-17 21:24:05 -0400
commitf1ddeb81aa8c709582fc11a5711b39da596f4f22 (patch)
tree1967def37a2f78789150c1c128315f15e50e7c4c /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
parentd097c7deb98803f6e9e46fe20261dd761efeb993 (diff)
downloadwix-f1ddeb81aa8c709582fc11a5711b39da596f4f22.tar.gz
wix-f1ddeb81aa8c709582fc11a5711b39da596f4f22.tar.bz2
wix-f1ddeb81aa8c709582fc11a5711b39da596f4f22.zip
Partial WixPdbs stop the backend before binding.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
index 67985df6..7412e6da 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
@@ -45,7 +45,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind
45 this.FileSystemExtensions = context.FileSystemExtensions; 45 this.FileSystemExtensions = context.FileSystemExtensions;
46 this.Intermediate = context.IntermediateRepresentation; 46 this.Intermediate = context.IntermediateRepresentation;
47 this.OutputPath = context.OutputPath; 47 this.OutputPath = context.OutputPath;
48 this.OutputPdbPath = context.OutputPdbPath; 48 this.OutputPdbPath = context.PdbPath;
49 this.PdbType = context.PdbType;
49 this.IntermediateFolder = context.IntermediateFolder; 50 this.IntermediateFolder = context.IntermediateFolder;
50 this.SubStorages = subStorages; 51 this.SubStorages = subStorages;
51 this.Validator = validator; 52 this.Validator = validator;
@@ -85,6 +86,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind
85 86
86 private string OutputPath { get; } 87 private string OutputPath { get; }
87 88
89 public PdbType PdbType { get; set; }
90
88 private string OutputPdbPath { get; } 91 private string OutputPdbPath { get; }
89 92
90 private bool SuppressAddingValidationRows { get; } 93 private bool SuppressAddingValidationRows { get; }
@@ -213,11 +216,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind
213 return null; 216 return null;
214 } 217 }
215 218
216 // Call extension
217 var ExtensionSaidSkip = false;
218
219 WindowsInstallerData output; 219 WindowsInstallerData output;
220 if (ExtensionSaidSkip) 220 if (this.PdbType == PdbType.Partial)
221 { 221 {
222 // Time to create the output object, since we're bypassing everything that touches files. 222 // Time to create the output object, since we're bypassing everything that touches files.
223 var command = new CreateOutputFromIRCommand(this.Messaging, section, tableDefinitions, this.BackendExtensions); 223 var command = new CreateOutputFromIRCommand(this.Messaging, section, tableDefinitions, this.BackendExtensions);