diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-05-03 16:05:08 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-03 16:05:08 -0700 |
| commit | 7bdd5e9159b298e0411afa689a06c44e36e293cd (patch) | |
| tree | 57d24ea7fdd8025baf6a822a99b588c9df74a60d /src/ext/NetFx/wixext/NetfxTableDefinitions.cs | |
| parent | ca02e81316d700a3647414f355eab4d2115d6163 (diff) | |
| download | wix-7bdd5e9159b298e0411afa689a06c44e36e293cd.tar.gz wix-7bdd5e9159b298e0411afa689a06c44e36e293cd.tar.bz2 wix-7bdd5e9159b298e0411afa689a06c44e36e293cd.zip | |
Move NetFx.wixext into ext
Diffstat (limited to 'src/ext/NetFx/wixext/NetfxTableDefinitions.cs')
| -rw-r--r-- | src/ext/NetFx/wixext/NetfxTableDefinitions.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ext/NetFx/wixext/NetfxTableDefinitions.cs b/src/ext/NetFx/wixext/NetfxTableDefinitions.cs new file mode 100644 index 00000000..1b2a4d21 --- /dev/null +++ b/src/ext/NetFx/wixext/NetfxTableDefinitions.cs | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // 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. | ||
| 2 | |||
| 3 | namespace WixToolset.Netfx | ||
| 4 | { | ||
| 5 | using WixToolset.Data.WindowsInstaller; | ||
| 6 | using WixToolset.Netfx.Symbols; | ||
| 7 | |||
| 8 | public static class NetfxTableDefinitions | ||
| 9 | { | ||
| 10 | public static readonly TableDefinition NetFxNativeImage = new TableDefinition( | ||
| 11 | "Wix4NetFxNativeImage", | ||
| 12 | NetfxSymbolDefinitions.NetFxNativeImage, | ||
| 13 | new[] | ||
| 14 | { | ||
| 15 | new ColumnDefinition("Wix4NetFxNativeImage", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The primary key, a non-localized token.", modularizeType: ColumnModularizeType.Column), | ||
| 16 | new ColumnDefinition("File_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, description: "The assembly for which a native image will be generated.", modularizeType: ColumnModularizeType.Column), | ||
| 17 | new ColumnDefinition("Priority", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Integer, minValue: 0, maxValue: 3, description: "The priority for generating this native image: 0 is syncronous, 1-3 represent various levels of queued generation."), | ||
| 18 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Integer, minValue: 0, maxValue: 2147483647, description: "Integer containing bit flags representing native image attributes."), | ||
| 19 | new ColumnDefinition("File_Application", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The application which loads this assembly.", modularizeType: ColumnModularizeType.Column), | ||
| 20 | new ColumnDefinition("Directory_ApplicationBase", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The directory containing the application which loads this assembly.", modularizeType: ColumnModularizeType.Column), | ||
| 21 | }, | ||
| 22 | symbolIdIsPrimaryKey: true | ||
| 23 | ); | ||
| 24 | |||
| 25 | public static readonly TableDefinition[] All = new[] | ||
| 26 | { | ||
| 27 | NetFxNativeImage, | ||
| 28 | }; | ||
| 29 | } | ||
| 30 | } | ||
