Visual Studio 构建时出现 2015 错误 Windows 10 个应用程序,应用程序包包含多个包

Visual Studio 2015 error when building Windows 10 app, app bundle containing more than one package

Visual Studio 构建 Windows 10 应用程序时出现 2015 错误:

您不能为每个架构创建包含多个包的应用程序包。 AppxBundlePlatforms 属性 的值为 'x86|x64|arm|arm|x86|x64'。 ABCDEFG.Win10

有人遇到过这个问题吗?

这是我的配置管理器的屏幕截图:

MS 说是:

not a bug but by design

Link

解决方案

打开 Package.StoreAssociation.xml 并删除包含冲突 PackageArchitecture 的 <PackageInfo> 部分。

每个架构只能有一个部分:x86|x64|arm,看起来每个都有 2 个。