From 353a99e6c9a0bfb278eebb59d3619506ee239957 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Tue, 14 May 2019 13:19:46 -0400 Subject: Support Component/@Shared. --- src/WixToolset.Data/Tuples/ComponentTuple.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/WixToolset.Data/Tuples/ComponentTuple.cs b/src/WixToolset.Data/Tuples/ComponentTuple.cs index 609852bd..8af887ed 100644 --- a/src/WixToolset.Data/Tuples/ComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/ComponentTuple.cs @@ -18,6 +18,7 @@ namespace WixToolset.Data new IntermediateFieldDefinition(nameof(ComponentTupleFields.NeverOverwrite), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(ComponentTupleFields.Permanent), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(ComponentTupleFields.SharedDllRefCount), IntermediateFieldType.Bool), + new IntermediateFieldDefinition(nameof(ComponentTupleFields.Shared), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(ComponentTupleFields.Transitive), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(ComponentTupleFields.UninstallWhenSuperseded), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(ComponentTupleFields.Win64), IntermediateFieldType.Bool), @@ -41,6 +42,7 @@ namespace WixToolset.Data.Tuples NeverOverwrite, Permanent, SharedDllRefCount, + Shared, Transitive, UninstallWhenSuperseded, Win64, @@ -116,6 +118,12 @@ namespace WixToolset.Data.Tuples set => this.Set((int)ComponentTupleFields.SharedDllRefCount, value); } + public bool Shared + { + get => this.Fields[(int)ComponentTupleFields.Shared].AsBool(); + set => this.Set((int)ComponentTupleFields.Shared, value); + } + public bool Transitive { get => this.Fields[(int)ComponentTupleFields.Transitive].AsBool(); -- cgit v1.2.3-55-g6feb