简体   繁体   English

针对旧平台的有效载荷包不允许使用非 appx 扩展 - 创建 UWP 包时

[英]Non appx extensions are not allowed for payload packages targeting older platforms - While creating UWP Package

I'm trying to create an App Package from my UWP application to upload it to the Windows Store, but I get an error telling me this:我正在尝试从我的 UWP 应用程序创建一个应用程序包以将其上传到 Windows 应用商店,但我收到一条错误消息:

0x80080215 - Non appx extensions are not allowed for payload packages targeting older platforms. 0x80080215 - 非 appx 扩展不允许用于针对旧平台的有效负载包。

Here my setup.这是我的设置。

Solutions With 2 projects: 2个项目的解决方案:

  • UWP Application UWP应用程序
  • Universal Windows Class Labrary (dll)通用 Windows 类库 (dll)

Environment:环境:

  • Win11 - (Fully updated) Win11 -(完全更新)
  • VS2022 Pro - (Fully updated) VS2022 Pro -(全面更新)

I've try merging the class library into the main project, but still have the same issue.我已经尝试将类库合并到主项目中,但仍然有同样的问题。 I've try different target Windows Version I've try to deploy only the x64.我尝试了不同的目标 Windows 版本 我尝试只部署 x64。

Any one have a idea on how to fix this?有人知道如何解决这个问题吗?

目标 Windows 版本 包配置

I had to recreate the UWP projet, to resolve the issue.我不得不重新创建 UWP projet 来解决这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM