diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index ca9385f6..c5f3a763 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -4216,7 +4216,14 @@ namespace WixToolset.Core | |||
4216 | fileSourceAttribSet = true; | 4216 | fileSourceAttribSet = true; |
4217 | break; | 4217 | break; |
4218 | case "Name": | 4218 | case "Name": |
4219 | name = this.Core.GetAttributeLongFilename(sourceLineNumbers, attrib, allowRelative: true); | 4219 | if ("." == attrib.Value) |
4220 | { | ||
4221 | name = attrib.Value; | ||
4222 | } | ||
4223 | else | ||
4224 | { | ||
4225 | name = this.Core.GetAttributeLongFilename(sourceLineNumbers, attrib, allowRelative: true); | ||
4226 | } | ||
4220 | nameAttribute = attrib; | 4227 | nameAttribute = attrib; |
4221 | break; | 4228 | break; |
4222 | case "ShortName": | 4229 | case "ShortName": |