From 6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 24 Jan 2020 15:27:20 -0800 Subject: Start on new patch infrastructure --- .../Bind/CreateIdtFileCommand.cs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateIdtFileCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateIdtFileCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateIdtFileCommand.cs index 6b1dead5..f09a2e47 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateIdtFileCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateIdtFileCommand.cs @@ -1,4 +1,4 @@ -// 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 WixToolset.Core.WindowsInstaller.Bind { @@ -122,13 +122,18 @@ namespace WixToolset.Core.WindowsInstaller.Bind tableString.Append(definition.Name); foreach (var column in definition.Columns) { - // conditionally keep columns added in a transform; otherwise, - // break because columns can only be added at the end + // Conditionally keep columns added in a transform; otherwise, + // break because columns can only be added at the end. if (column.Added && !keepAddedColumns) { break; } + if (column.Unreal) + { + continue; + } + if (!first) { columnString.Append('\t'); @@ -168,6 +173,11 @@ namespace WixToolset.Core.WindowsInstaller.Bind break; } + if (field.Column.Unreal) + { + continue; + } + if (first) { first = false; -- cgit v1.2.3-55-g6feb