aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Binder.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Core/Binder.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/WixToolset.Core/Binder.cs b/src/WixToolset.Core/Binder.cs
index c442c94d..f112a214 100644
--- a/src/WixToolset.Core/Binder.cs
+++ b/src/WixToolset.Core/Binder.cs
@@ -125,19 +125,19 @@ namespace WixToolset.Core
125 { 125 {
126 var entrySection = output.Sections.First(s => s.Type != SectionType.Fragment); 126 var entrySection = output.Sections.First(s => s.Type != SectionType.Fragment);
127 127
128 Assembly executingAssembly = Assembly.GetExecutingAssembly(); 128 var executingAssembly = Assembly.GetExecutingAssembly();
129 FileVersionInfo fileVersion = FileVersionInfo.GetVersionInfo(executingAssembly.Location); 129 var fileVersion = FileVersionInfo.GetVersionInfo(executingAssembly.Location);
130 130
131 var buildInfoRow = new WixBuildInfoTuple(); 131 var buildInfoTuple = new WixBuildInfoTuple();
132 buildInfoRow.WixVersion = fileVersion.FileVersion; 132 buildInfoTuple.WixVersion = fileVersion.FileVersion;
133 buildInfoRow.WixOutputFile = outputFile; 133 buildInfoTuple.WixOutputFile = outputFile;
134 134
135 if (!String.IsNullOrEmpty(outputPdbPath)) 135 if (!String.IsNullOrEmpty(outputPdbPath))
136 { 136 {
137 buildInfoRow.WixPdbFile = outputPdbPath; 137 buildInfoTuple.WixPdbFile = outputPdbPath;
138 } 138 }
139 139
140 entrySection.Tuples.Add(buildInfoRow); 140 entrySection.Tuples.Add(buildInfoTuple);
141 } 141 }
142 } 142 }
143} 143}