aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Arnson <bob@joyofsetup.com>2018-05-06 17:26:38 -0400
committerBob Arnson <bob@joyofsetup.com>2018-05-06 17:26:38 -0400
commite48ed09e26098b10a964b56a4ff0c630c4204d94 (patch)
tree17b00f2ce4552c274f483114ff966b7508a951ea
parentaa12ce344a305618c3b6a0723519c496c2c9f43c (diff)
downloadwix-e48ed09e26098b10a964b56a4ff0c630c4204d94.tar.gz
wix-e48ed09e26098b10a964b56a4ff0c630c4204d94.tar.bz2
wix-e48ed09e26098b10a964b56a4ff0c630c4204d94.zip
Write out useful `keyColumn` value to fix .wixpdb output.
-rw-r--r--src/WixToolset.Data/WindowsInstaller/ColumnDefinition.cs2
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Table.cs1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/ColumnDefinition.cs b/src/WixToolset.Data/WindowsInstaller/ColumnDefinition.cs
index b6d4f29f..1cbad230 100644
--- a/src/WixToolset.Data/WindowsInstaller/ColumnDefinition.cs
+++ b/src/WixToolset.Data/WindowsInstaller/ColumnDefinition.cs
@@ -501,7 +501,7 @@ namespace WixToolset.Data.WindowsInstaller
501 501
502 if (this.KeyColumn.HasValue) 502 if (this.KeyColumn.HasValue)
503 { 503 {
504 writer.WriteAttributeString("keyColumn", this.KeyColumn.HasValue.ToString(CultureInfo.InvariantCulture.NumberFormat)); 504 writer.WriteAttributeString("keyColumn", this.KeyColumn.Value.ToString(CultureInfo.InvariantCulture.NumberFormat));
505 } 505 }
506 506
507 switch (this.Category) 507 switch (this.Category)
diff --git a/src/WixToolset.Data/WindowsInstaller/Table.cs b/src/WixToolset.Data/WindowsInstaller/Table.cs
index ccdcb40b..c57d9d31 100644
--- a/src/WixToolset.Data/WindowsInstaller/Table.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Table.cs
@@ -11,6 +11,7 @@ namespace WixToolset.Data.WindowsInstaller
11 /// <summary> 11 /// <summary>
12 /// Object that represents a table in a database. 12 /// Object that represents a table in a database.
13 /// </summary> 13 /// </summary>
14 [DebuggerDisplay("{Name}")]
14 public class Table 15 public class Table
15 { 16 {
16 /// <summary> 17 /// <summary>