diff options
| -rw-r--r-- | src/wix/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs b/src/wix/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs index bcf516b6..1392a584 100644 --- a/src/wix/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs +++ b/src/wix/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs | |||
| @@ -245,6 +245,22 @@ namespace WixToolset.Core.ExtensibilityServices | |||
| 245 | throw new ArgumentException("Unknown platform enumeration '{0}' encountered.", context.Platform.ToString()); | 245 | throw new ArgumentException("Unknown platform enumeration '{0}' encountered.", context.Platform.ToString()); |
| 246 | } | 246 | } |
| 247 | 247 | ||
| 248 | case "BUILDARCHSHORT": | ||
| 249 | switch (context.Platform) | ||
| 250 | { | ||
| 251 | case Platform.X86: | ||
| 252 | return "X86"; | ||
| 253 | |||
| 254 | case Platform.X64: | ||
| 255 | return "X64"; | ||
| 256 | |||
| 257 | case Platform.ARM64: | ||
| 258 | return "A64"; | ||
| 259 | |||
| 260 | default: | ||
| 261 | throw new ArgumentException("Unknown platform enumeration '{0}' encountered.", context.Platform.ToString()); | ||
| 262 | } | ||
| 263 | |||
| 248 | case "WIXMAJORVERSION": | 264 | case "WIXMAJORVERSION": |
| 249 | return ThisAssembly.Git.BaseVersion.Major; | 265 | return ThisAssembly.Git.BaseVersion.Major; |
| 250 | 266 | ||
