From f1ddeb81aa8c709582fc11a5711b39da596f4f22 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Tue, 17 Mar 2020 21:16:55 -0400 Subject: Partial WixPdbs stop the backend before binding. --- .../Bind/BindDatabaseCommand.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs') 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 this.FileSystemExtensions = context.FileSystemExtensions; this.Intermediate = context.IntermediateRepresentation; this.OutputPath = context.OutputPath; - this.OutputPdbPath = context.OutputPdbPath; + this.OutputPdbPath = context.PdbPath; + this.PdbType = context.PdbType; this.IntermediateFolder = context.IntermediateFolder; this.SubStorages = subStorages; this.Validator = validator; @@ -85,6 +86,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind private string OutputPath { get; } + public PdbType PdbType { get; set; } + private string OutputPdbPath { get; } private bool SuppressAddingValidationRows { get; } @@ -213,11 +216,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind return null; } - // Call extension - var ExtensionSaidSkip = false; - WindowsInstallerData output; - if (ExtensionSaidSkip) + if (this.PdbType == PdbType.Partial) { // Time to create the output object, since we're bypassing everything that touches files. var command = new CreateOutputFromIRCommand(this.Messaging, section, tableDefinitions, this.BackendExtensions); -- cgit v1.2.3-55-g6feb