From 49f1209035aac1fcfad5dbbe25f7b2306d3be86c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 7 Dec 2017 14:19:05 -0800 Subject: Support MSI backends creating custom tables and remove WixToolset.Data.WindowsInstaller --- .../Example.Extension/ExampleTableDefinitions.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/test/TestData/Example.Extension/ExampleTableDefinitions.cs (limited to 'src/test/TestData/Example.Extension/ExampleTableDefinitions.cs') diff --git a/src/test/TestData/Example.Extension/ExampleTableDefinitions.cs b/src/test/TestData/Example.Extension/ExampleTableDefinitions.cs new file mode 100644 index 00000000..870b02e1 --- /dev/null +++ b/src/test/TestData/Example.Extension/ExampleTableDefinitions.cs @@ -0,0 +1,21 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +namespace Example.Extension +{ + using System.Collections.Generic; + using WixToolset.Data.WindowsInstaller; + + public static class ExampleTableDefinitions + { + public static readonly TableDefinition ExampleTable = new TableDefinition( + "Example", + new List + { + new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier), + new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted), + } + ); + + public static readonly TableDefinition[] All = new[] { ExampleTable }; + } +} -- cgit v1.2.3-55-g6feb