diff options
Diffstat (limited to 'src/WixToolset.Core/Binder.cs')
-rw-r--r-- | src/WixToolset.Core/Binder.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WixToolset.Core/Binder.cs b/src/WixToolset.Core/Binder.cs index a670714a..faaa3ec0 100644 --- a/src/WixToolset.Core/Binder.cs +++ b/src/WixToolset.Core/Binder.cs | |||
@@ -7,7 +7,7 @@ namespace WixToolset.Core | |||
7 | using System.Linq; | 7 | using System.Linq; |
8 | using System.Reflection; | 8 | using System.Reflection; |
9 | using WixToolset.Data; | 9 | using WixToolset.Data; |
10 | using WixToolset.Data.Tuples; | 10 | using WixToolset.Data.Symbols; |
11 | using WixToolset.Extensibility; | 11 | using WixToolset.Extensibility; |
12 | using WixToolset.Extensibility.Data; | 12 | using WixToolset.Extensibility.Data; |
13 | using WixToolset.Extensibility.Services; | 13 | using WixToolset.Extensibility.Services; |
@@ -35,7 +35,7 @@ namespace WixToolset.Core | |||
35 | 35 | ||
36 | // Bind. | 36 | // Bind. |
37 | // | 37 | // |
38 | this.WriteBuildInfoTuple(context.IntermediateRepresentation, context.OutputPath, context.PdbPath); | 38 | this.WriteBuildInfoSymbol(context.IntermediateRepresentation, context.OutputPath, context.PdbPath); |
39 | 39 | ||
40 | var bindResult = this.BackendBind(context); | 40 | var bindResult = this.BackendBind(context); |
41 | 41 | ||
@@ -74,14 +74,14 @@ namespace WixToolset.Core | |||
74 | return null; | 74 | return null; |
75 | } | 75 | } |
76 | 76 | ||
77 | private void WriteBuildInfoTuple(Intermediate output, string outputFile, string outputPdbPath) | 77 | private void WriteBuildInfoSymbol(Intermediate output, string outputFile, string outputPdbPath) |
78 | { | 78 | { |
79 | var entrySection = output.Sections.First(s => s.Type != SectionType.Fragment); | 79 | var entrySection = output.Sections.First(s => s.Type != SectionType.Fragment); |
80 | 80 | ||
81 | var executingAssembly = Assembly.GetExecutingAssembly(); | 81 | var executingAssembly = Assembly.GetExecutingAssembly(); |
82 | var fileVersion = FileVersionInfo.GetVersionInfo(executingAssembly.Location); | 82 | var fileVersion = FileVersionInfo.GetVersionInfo(executingAssembly.Location); |
83 | 83 | ||
84 | var buildInfoTuple = entrySection.AddTuple(new WixBuildInfoTuple() | 84 | var buildInfoSymbol = entrySection.AddSymbol(new WixBuildInfoSymbol() |
85 | { | 85 | { |
86 | WixVersion = fileVersion.FileVersion, | 86 | WixVersion = fileVersion.FileVersion, |
87 | WixOutputFile = outputFile, | 87 | WixOutputFile = outputFile, |
@@ -89,7 +89,7 @@ namespace WixToolset.Core | |||
89 | 89 | ||
90 | if (!String.IsNullOrEmpty(outputPdbPath)) | 90 | if (!String.IsNullOrEmpty(outputPdbPath)) |
91 | { | 91 | { |
92 | buildInfoTuple.WixPdbFile = outputPdbPath; | 92 | buildInfoSymbol.WixPdbFile = outputPdbPath; |
93 | } | 93 | } |
94 | } | 94 | } |
95 | } | 95 | } |