Forum Discussion
ChuckBohling
Mar 08, 2022Copper Contributor
MSIX setting target architecture
I have a 32-bit app that I'm packaging with MSIX. I'd like that app to only run on Windows 10/11 x64. Is there a way to do that? In the manifest or during submission? The reason I want to do this is ...
Bogdan Mitrache
Mar 08, 2022Iron Contributor
Yes, you can do that by setting the ProcessorArchitecture="x64" attribute from the AppxManifest.
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-manual-conversion
If you are using Visual Studio, this should be set automatically based on the options you specify in the Configuration Manager.
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-packaging-dot-net
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-manual-conversion
If you are using Visual Studio, this should be set automatically based on the options you specify in the Configuration Manager.
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-packaging-dot-net
ChuckBohling
Apr 06, 2022Copper Contributor
Any ideas on why this didn't work?