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 e6dd538b..a670714a 100644 --- a/src/WixToolset.Core/Binder.cs +++ b/src/WixToolset.Core/Binder.cs | |||
@@ -81,16 +81,16 @@ namespace WixToolset.Core | |||
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 = new WixBuildInfoTuple(); | 84 | var buildInfoTuple = entrySection.AddTuple(new WixBuildInfoTuple() |
85 | buildInfoTuple.WixVersion = fileVersion.FileVersion; | 85 | { |
86 | buildInfoTuple.WixOutputFile = outputFile; | 86 | WixVersion = fileVersion.FileVersion, |
87 | WixOutputFile = outputFile, | ||
88 | }); | ||
87 | 89 | ||
88 | if (!String.IsNullOrEmpty(outputPdbPath)) | 90 | if (!String.IsNullOrEmpty(outputPdbPath)) |
89 | { | 91 | { |
90 | buildInfoTuple.WixPdbFile = outputPdbPath; | 92 | buildInfoTuple.WixPdbFile = outputPdbPath; |
91 | } | 93 | } |
92 | |||
93 | entrySection.Tuples.Add(buildInfoTuple); | ||
94 | } | 94 | } |
95 | } | 95 | } |
96 | } | 96 | } |