diff options
author | Rob Mensching <rob@firegiant.com> | 2022-02-03 10:26:07 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-02-03 11:21:49 -0800 |
commit | fbaf8ae6972cbeac4500ba49235a6b5cb4cb87e3 (patch) | |
tree | 231c90153b38b9e6de8554861ae8e2f8084140ae | |
parent | 86eff4ef9fe32b4cf424b1a0abec1599d4367f60 (diff) | |
download | wix-fbaf8ae6972cbeac4500ba49235a6b5cb4cb87e3.tar.gz wix-fbaf8ae6972cbeac4500ba49235a6b5cb4cb87e3.tar.bz2 wix-fbaf8ae6972cbeac4500ba49235a6b5cb4cb87e3.zip |
Minor code cleanup
-rw-r--r-- | src/wix/WixToolset.Core/Compiler_UI.cs | 1 | ||||
-rw-r--r-- | src/wix/WixToolset.Core/Linker.cs | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/wix/WixToolset.Core/Compiler_UI.cs b/src/wix/WixToolset.Core/Compiler_UI.cs index 5661d101..c07ca1dd 100644 --- a/src/wix/WixToolset.Core/Compiler_UI.cs +++ b/src/wix/WixToolset.Core/Compiler_UI.cs | |||
@@ -584,7 +584,6 @@ namespace WixToolset.Core | |||
584 | this.Core.ParseExtensionElement(node, child); | 584 | this.Core.ParseExtensionElement(node, child); |
585 | } | 585 | } |
586 | } | 586 | } |
587 | |||
588 | } | 587 | } |
589 | 588 | ||
590 | /// <summary> | 589 | /// <summary> |
diff --git a/src/wix/WixToolset.Core/Linker.cs b/src/wix/WixToolset.Core/Linker.cs index 1fb7d18c..40654735 100644 --- a/src/wix/WixToolset.Core/Linker.cs +++ b/src/wix/WixToolset.Core/Linker.cs | |||
@@ -459,7 +459,7 @@ namespace WixToolset.Core | |||
459 | connection = featuresToFeatures[wixComplexReferenceRow.Child]; | 459 | connection = featuresToFeatures[wixComplexReferenceRow.Child]; |
460 | if (null != connection) | 460 | if (null != connection) |
461 | { | 461 | { |
462 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), (null != connection.PrimaryFeature ? connection.PrimaryFeature : resolvedSection.Id))); | 462 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), connection.PrimaryFeature ?? resolvedSection.Id)); |
463 | continue; | 463 | continue; |
464 | } | 464 | } |
465 | 465 | ||
@@ -476,7 +476,7 @@ namespace WixToolset.Core | |||
476 | { | 476 | { |
477 | if (connection.IsExplicitPrimaryFeature) | 477 | if (connection.IsExplicitPrimaryFeature) |
478 | { | 478 | { |
479 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), (null != connection.PrimaryFeature ? connection.PrimaryFeature : resolvedSection.Id))); | 479 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), connection.PrimaryFeature ?? resolvedSection.Id)); |
480 | continue; | 480 | continue; |
481 | } | 481 | } |
482 | else | 482 | else |
@@ -548,7 +548,7 @@ namespace WixToolset.Core | |||
548 | connection = featuresToFeatures[wixComplexReferenceRow.Child]; | 548 | connection = featuresToFeatures[wixComplexReferenceRow.Child]; |
549 | if (null != connection) | 549 | if (null != connection) |
550 | { | 550 | { |
551 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), (null != connection.PrimaryFeature ? connection.PrimaryFeature : resolvedSection.Id))); | 551 | this.Messaging.Write(ErrorMessages.MultiplePrimaryReferences(wixComplexReferenceRow.SourceLineNumbers, wixComplexReferenceRow.ChildType.ToString(), wixComplexReferenceRow.Child, wixComplexReferenceRow.ParentType.ToString(), wixComplexReferenceRow.Parent, (null != connection.PrimaryFeature ? "Feature" : "Package"), connection.PrimaryFeature ?? resolvedSection.Id)); |
552 | continue; | 552 | continue; |
553 | } | 553 | } |
554 | 554 | ||