diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 83623883..3365789f 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -2416,7 +2416,7 @@ namespace WixToolset.Core | |||
2416 | } | 2416 | } |
2417 | else | 2417 | else |
2418 | { | 2418 | { |
2419 | var context = new Dictionary<string, string>() { { "ComponentId", id.Id }, { "DirectoryId", directoryId }, { "Win64", win64.ToString() }, }; | 2419 | var context = new Dictionary<string, string>() { { "ComponentId", id?.Id }, { "DirectoryId", directoryId }, { "Win64", win64.ToString() }, }; |
2420 | var possibleKeyPath = this.Core.ParsePossibleKeyPathExtensionElement(node, child, context); | 2420 | var possibleKeyPath = this.Core.ParsePossibleKeyPathExtensionElement(node, child, context); |
2421 | if (null != possibleKeyPath) | 2421 | if (null != possibleKeyPath) |
2422 | { | 2422 | { |
@@ -5753,7 +5753,7 @@ namespace WixToolset.Core | |||
5753 | } | 5753 | } |
5754 | else | 5754 | else |
5755 | { | 5755 | { |
5756 | var context = new Dictionary<string, string>() { { "FileId", id.Id }, { "ComponentId", componentId }, { "DirectoryId", directoryId }, { "Win64", win64Component.ToString() } }; | 5756 | var context = new Dictionary<string, string>() { { "FileId", id?.Id }, { "ComponentId", componentId }, { "DirectoryId", directoryId }, { "Win64", win64Component.ToString() } }; |
5757 | this.Core.ParseExtensionElement(node, child, context); | 5757 | this.Core.ParseExtensionElement(node, child, context); |
5758 | } | 5758 | } |
5759 | } | 5759 | } |