The following constants (for use with the Bootstrapper C++ API) are declared in WindowsAppSDK-VersionInfo.h.
Microsoft::WindowsAppSDK::Release namespace
Constant
Value
Description
constexpr PCWSTR Channel
[release-dependent]
The Windows App SDK release's channel; for example, L"preview", or empty string for stable.
constexpr PCWSTR FormattedVersionShortTag
[release-dependent]
The Windows App SDK release's short-form version tag, formatted for concatenation when constructing identifiers; for example, "-p2", or empty string for stable.
constexpr PCWSTR FormattedVersionTag
[release-dependent]
The Windows App SDK release's version tag, formatted for concatenation when constructing identifiers; for example, "-preview2", or empty string for stable.
constexpr uint16_t Major
[release-dependent]
The major version of the Windows App SDK release.
constexpr uint32_t MajorMinor
[release-dependent]
The major and minor version of the Windows App SDK release, encoded as a uint32_t (0xMMMMNNNN where M=major, N=minor).
constexpr uint16_t Minor
[release-dependent]
The minor version of the Windows App SDK release.
constexpr uint16_t Patch
[release-dependent]
The patch version of the Windows App SDK release.
constexpr PCWSTR VersionShortTag
[release-dependent]
The Windows App SDK release's short-form version tag; for example, L"p2", or empty string for stable.
constexpr PCWSTR VersionTag
[release-dependent]
The Windows App SDK release's version tag; for example, L"preview2", or empty string for stable.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.