Forum Discussion
ispiro
Mar 02, 2023Copper Contributor
Why does the "Create App Packages" dialog have an option for Neutral/AnyCPU?
(I was sent here from here: https://learn.microsoft.com/en-us/answers/questions/1185576/why-does-the-create-app-packages-dialog-have-an-op )
Creating a package for the Store in Visual Studio with the desktop bridge (from WPF for example) used to have an option to build for Neutral and thereby build for x86, x64, ARM, etc. all at once. This stopped working since Visual Studio 17.4~ giving an error of "There was a mismatch between the processor architecture...".
So why does the "Create App Packages" dialog still have an option for Neutral/AnyCPU?
And why does it have a text on it saying "Select all architectures..." when not all are selected, since it won't build with more than one anyway?
(This is besides the question of why did Microsoft remove that option making us having to create 4 packages separately, each being around the same size as the Neutral package we used to have in the past, and having to upload each separately...)
- Aniket_Banerjee
Microsoft
Hi ispiro
As you can see from the Developer Community thread below - MSIX does not support Neutral.
Packaging Project for .Net 6.0 WPF application returns error There was a mismatch between the processor architecture of the project being built "MSIL" - Visual Studio Feedback.
Coming to your question on why it is still an option, it would be to support other package formats.- ispiroCopper Contributor
it would be to support other package formats.Such as what?
(I also think the conclusion there is wrong.)