Replies: 1 comment 3 replies
-
This all depends. It seems that for 1.7, the RuntimeInfo runtime class will be available. It is more annoying for 1.6 and older. For 1.6 and older self contained, the version of the runtime should match the version that it was built with, so the static version is what you query. For 1.6 and older framework dependent, then it is the version of the framework package that you can find. GetCurrentPackageInfo(2)(3) allows you to query for the current dependencies. This also works for unpackaged desktop applications that use the Dynamic Dependencies API, and this includes the Bootstrapper API, to reference the Windows App SDK. If you are using GetCurrentPackageInfo or GetCurrentPackageInfo2, you have to remember to add the PACKAGE_FILTER_DYNAMIC flag. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I write a Windows runtime component using wasdk, how can I determine the actual runtime version of wasdk?
Beta Was this translation helpful? Give feedback.
All reactions