Don't install x64 framework package on Windows 10 ARM64 devices as it…
Don't install x64 framework package on Windows 10 ARM64 devices. Win 10 ARM64 doesn't support x64 apps. Tested IsWindows10_21H2OrGreater API on Windows 10 and Windows 11 and works as expected.
And fixed an unused variable deploymentOptions in two places (in one place, it is used now. In another, it is removed altogether).
https://github.com/microsoft/WindowsAppSDK/issues/2564
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
This seems very fragile. If downlevel gets serviced with these APIs, will all of this behave as expected?
This seems very fragile. If downlevel gets serviced with these APIs, will all of this behave as expected? Even if suppose the GetMachineTypeAttributes get serviced downlevel, it will still work as expected. Because I am not only checking if the API is available BUT we are also calling the API to check applicability of a given architecture compatibility on the device.
Updated comments in the code as well to reflect this.
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 1 pipeline(s).