From a26c9ac0e9b02360b298ae5c619ca4070d11ae9a Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Apr 2020 16:14:32 +1000 Subject: Add failing test for when EnsureTable references an extension table with a different name than its tuple. --- .../Example.Extension/ExampleWindowsInstallerBackendExtension.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs') diff --git a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs index d6741bc1..af9c8489 100644 --- a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs +++ b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs @@ -1,13 +1,16 @@ -// 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. +// 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; using WixToolset.Data.WindowsInstaller; using WixToolset.Extensibility; internal class ExampleWindowsInstallerBackendExtension : BaseWindowsInstallerBackendBinderExtension { + public override IEnumerable TableDefinitions => ExampleTableDefinitions.All; + public override bool TryAddTupleToOutput(IntermediateTuple tuple, WindowsInstallerData output) { #if ALTERNATIVE_TO_USING_HELPER -- cgit v1.2.3-55-g6feb