@joebigelow / wix / commits / 8a479818

Use SymbolsFinalized instead of BundleFinalize

Andrij Abyzov committed Mar 2, 2021 at 15:04 UTC 8a47981860da38b85a32c59aab019015e4f97360
1 file changed +3 -6
src/wixext/BalBurnBackendExtension.cs
+3 -6
@@ -11,7 +11,7 @@ namespace WixToolset.Bal
11 using WixToolset.Data.Symbols;
12 using WixToolset.Extensibility;
13
14 - public class BalBurnBackendExtension : BaseBurnBackendExtension
14 + public class BalBurnBackendExtension : BaseBurnBackendBinderExtension
15 {
16 private static readonly IntermediateSymbolDefinition[] BurnSymbolDefinitions =
17 {
@@ -27,12 +27,9 @@ namespace WixToolset.Bal
27
28 protected override IEnumerable<IntermediateSymbolDefinition> SymbolDefinitions => BurnSymbolDefinitions;
29
30 - public override void BundleFinalize()
30 + public override void SymbolsFinalized(IntermediateSection section)
31 {
32 - base.BundleFinalize();
33 -
34 - var intermediate = this.Context.IntermediateRepresentation;
35 - var section = intermediate.Sections.Single();
32 + base.SymbolsFinalized(section);
33
34 var baSymbol = section.Symbols.OfType<WixBootstrapperApplicationDllSymbol>().SingleOrDefault();
35 var baId = baSymbol?.Id?.Id;