From 697f2cdbdcd8198d06ebf14fc2b65f0ce3fa5a94 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 1 Mar 2021 10:12:40 -0800 Subject: TARGETDIR is the default directory root, so allow it --- src/WixToolset.Core/Compiler.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/WixToolset.Core/Compiler.cs') 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 { this.Core.Write(ErrorMessages.IllegalAttributeWithoutOtherAttributes(sourceLineNumbers, node.Name.LocalName, "ShortName", "Name")); } - - if (null == parentId) - { - this.Core.Write(ErrorMessages.DirectoryRootWithoutName(sourceLineNumbers, node.Name.LocalName, "Name")); - } } else if (!String.IsNullOrEmpty(name)) { -- cgit v1.2.3-55-g6feb