aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Compiler_Bundle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Compiler_Bundle.cs')
-rw-r--r--src/WixToolset.Core/Compiler_Bundle.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/Compiler_Bundle.cs b/src/WixToolset.Core/Compiler_Bundle.cs
index 9858ae17..31896a42 100644
--- a/src/WixToolset.Core/Compiler_Bundle.cs
+++ b/src/WixToolset.Core/Compiler_Bundle.cs
@@ -949,7 +949,7 @@ namespace WixToolset.Core
949 var id = this.ParsePayloadElementContent(node, parentType, parentId, previousType, previousId, true); 949 var id = this.ParsePayloadElementContent(node, parentType, parentId, previousType, previousId, true);
950 var context = new Dictionary<string, string> 950 var context = new Dictionary<string, string>
951 { 951 {
952 ["Id"] = id.Id 952 ["Id"] = id?.Id
953 }; 953 };
954 954
955 foreach (var child in node.Elements()) 955 foreach (var child in node.Elements())
@@ -1044,7 +1044,7 @@ namespace WixToolset.Core
1044 // Now that the PayloadId is known, we can parse the extension attributes. 1044 // Now that the PayloadId is known, we can parse the extension attributes.
1045 var context = new Dictionary<string, string> 1045 var context = new Dictionary<string, string>
1046 { 1046 {
1047 ["Id"] = id.Id 1047 ["Id"] = id?.Id
1048 }; 1048 };
1049 1049
1050 foreach (var extensionAttribute in extensionAttributes) 1050 foreach (var extensionAttribute in extensionAttributes)
@@ -2070,7 +2070,7 @@ namespace WixToolset.Core
2070 } 2070 }
2071 else 2071 else
2072 { 2072 {
2073 var context = new Dictionary<string, string>() { { "Id", id.Id } }; 2073 var context = new Dictionary<string, string>() { { "Id", id?.Id } };
2074 this.Core.ParseExtensionElement(node, child, context); 2074 this.Core.ParseExtensionElement(node, child, context);
2075 } 2075 }
2076 } 2076 }