如何为 UWP 项目创建 msixbundle?

How do I create an msixbundle for a UWP project?

我有两个目前仅使用 UWP 平台的 xamarin 表单项目。一个在发布时创建 msixbundles,另一个在发布时创建 appxbundles。我似乎找不到导致此问题的 Package.appxmanifest 或 uwp 项目文件之间的任何关键区别。我想让他们都生产 msixbundles。有人知道创建 msixbundles 与 appxbundles 的关键吗?

针对 Windows 1809 及更高版本的应用程序会自动打包为 msix/msixbundle。这是官方的 release note.

We added support for creating .MSIX packages for both the Universal Windows Platform projects, as well as in the Windows Application Packaging Project template. To create an .MSIX package, the minimum version of your application must be the latest Windows 10 SDK (build 17763).