diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
| -rw-r--r-- | src/WixToolset.Core/Compiler.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index ea018d54..d543c6b8 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
| @@ -4028,7 +4028,6 @@ namespace WixToolset.Core | |||
| 4028 | string shortName = null; | 4028 | string shortName = null; |
| 4029 | string sourceName = null; | 4029 | string sourceName = null; |
| 4030 | string shortSourceName = null; | 4030 | string shortSourceName = null; |
| 4031 | string defaultDir = null; | ||
| 4032 | string symbols = null; | 4031 | string symbols = null; |
| 4033 | 4032 | ||
| 4034 | foreach (var attrib in node.Attributes()) | 4033 | foreach (var attrib in node.Attributes()) |
| @@ -4208,7 +4207,7 @@ namespace WixToolset.Core | |||
| 4208 | } | 4207 | } |
| 4209 | 4208 | ||
| 4210 | // Calculate the DefaultDir for the directory row. | 4209 | // Calculate the DefaultDir for the directory row. |
| 4211 | defaultDir = String.IsNullOrEmpty(shortName) ? name : String.Concat(shortName, "|", name); | 4210 | var defaultDir = String.IsNullOrEmpty(shortName) ? name : String.Concat(shortName, "|", name); |
| 4212 | if (!String.IsNullOrEmpty(sourceName)) | 4211 | if (!String.IsNullOrEmpty(sourceName)) |
| 4213 | { | 4212 | { |
| 4214 | defaultDir = String.Concat(defaultDir, ":", String.IsNullOrEmpty(shortSourceName) ? sourceName : String.Concat(shortSourceName, "|", sourceName)); | 4213 | defaultDir = String.Concat(defaultDir, ":", String.IsNullOrEmpty(shortSourceName) ? sourceName : String.Concat(shortSourceName, "|", sourceName)); |
| @@ -4260,7 +4259,10 @@ namespace WixToolset.Core | |||
| 4260 | var tuple = new DirectoryTuple(sourceLineNumbers, id) | 4259 | var tuple = new DirectoryTuple(sourceLineNumbers, id) |
| 4261 | { | 4260 | { |
| 4262 | ParentDirectoryRef = parentId, | 4261 | ParentDirectoryRef = parentId, |
| 4263 | DefaultDir = defaultDir, | 4262 | Name = name, |
| 4263 | ShortName = shortName, | ||
| 4264 | SourceName = sourceName, | ||
| 4265 | SourceShortName = shortSourceName, | ||
| 4264 | ComponentGuidGenerationSeed = componentGuidGenerationSeed | 4266 | ComponentGuidGenerationSeed = componentGuidGenerationSeed |
| 4265 | }; | 4267 | }; |
| 4266 | 4268 | ||
