diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-01 10:12:40 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-03-01 12:23:34 -0800 |
| commit | 697f2cdbdcd8198d06ebf14fc2b65f0ce3fa5a94 (patch) | |
| tree | 8616e852092f56985cd5e51c7615b9b78b471737 /src/WixToolset.Core | |
| parent | ead8def989c291fa8f9e31760fd2c7a815595481 (diff) | |
| download | wix-697f2cdbdcd8198d06ebf14fc2b65f0ce3fa5a94.tar.gz wix-697f2cdbdcd8198d06ebf14fc2b65f0ce3fa5a94.tar.bz2 wix-697f2cdbdcd8198d06ebf14fc2b65f0ce3fa5a94.zip | |
TARGETDIR is the default directory root, so allow it
Diffstat (limited to 'src/WixToolset.Core')
| -rw-r--r-- | src/WixToolset.Core/Compiler.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index ac99a8a1..384f8795 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
| @@ -4226,11 +4226,6 @@ namespace WixToolset.Core | |||
| 4226 | { | 4226 | { |
| 4227 | this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(sourceLineNumbers, node.Name.LocalName, "ShortName", "Name")); | 4227 | this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(sourceLineNumbers, node.Name.LocalName, "ShortName", "Name")); |
| 4228 | } | 4228 | } |
| 4229 | |||
| 4230 | if (null == parentId) | ||
| 4231 | { | ||
| 4232 | this.Core.Write(ErrorMessages.DirectoryRootWithoutName(sourceLineNumbers, node.Name.LocalName, "Name")); | ||
| 4233 | } | ||
| 4234 | } | 4229 | } |
| 4235 | else if (!String.IsNullOrEmpty(name)) | 4230 | else if (!String.IsNullOrEmpty(name)) |
| 4236 | { | 4231 | { |
