From 8a67cff70cdfa014cc068dcc7756ed57b2ed1642 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Tue, 8 Dec 2020 14:00:13 -0500 Subject: Decompiling null GUID should set `Guid=""` to match. --- src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Decompile') diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs index 80ee75a5..d11a890c 100644 --- a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs +++ b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs @@ -4152,7 +4152,7 @@ namespace WixToolset.Core.WindowsInstaller { var xComponent = new XElement(Names.ComponentElement, new XAttribute("Id", row.FieldAsString(0)), - row.IsColumnEmpty(1) ? null : new XAttribute("Guid", row.FieldAsString(1))); + new XAttribute("Guid", row.FieldAsString(1) ?? String.Empty)); var attributes = row.FieldAsInteger(3); -- cgit v1.2.3-55-g6feb