aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2019-11-14 18:10:00 -0500
committerBob Arnson <bob@firegiant.com>2019-11-14 18:14:17 -0500
commit94b3c44ea27e29253a26e18bf0c70295d0fc48e5 (patch)
tree680dedd2ec7c6c700d83e57455bd4c4ded86e4ba /src/WixToolset.Core
parente34ea332def4718110e9a7efcf9e12bf7456c753 (diff)
downloadwix-94b3c44ea27e29253a26e18bf0c70295d0fc48e5.tar.gz
wix-94b3c44ea27e29253a26e18bf0c70295d0fc48e5.tar.bz2
wix-94b3c44ea27e29253a26e18bf0c70295d0fc48e5.zip
Fix EnvironmentTuple nullable fields. Add test.
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r--src/WixToolset.Core/Compiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs
index 56d3a8b4..179c5a37 100644
--- a/src/WixToolset.Core/Compiler.cs
+++ b/src/WixToolset.Core/Compiler.cs
@@ -5203,7 +5203,7 @@ namespace WixToolset.Core
5203 this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Name")); 5203 this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Name"));
5204 } 5204 }
5205 5205
5206 if (!part.HasValue && action == EnvironmentActionType.Create) 5206 if (part.HasValue && action == EnvironmentActionType.Create)
5207 { 5207 {
5208 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(sourceLineNumbers, node.Name.LocalName, "Part", "Action", "create")); 5208 this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(sourceLineNumbers, node.Name.LocalName, "Part", "Action", "create"));
5209 } 5209 }