簡體   English   中英

Monogame-uwp package 無法發布到 Windows 商店,因為它仍然以 Windows.Mobile 為目標,因此無法加密

[英]Monogame-uwp package can´t be published to the Windows Store because it still targets Windows.Mobile and can´t be enrypted because of that

我正在嘗試將 package(使用來自 monogame 的普通 uwp 模板構建)發布到 Windows 商店,它顯示以下消息:

The package abcdefg_1.0.8.0_x86_x64_bundle.appxupload can’t be encrypted because it targets 
the Windows.Mobile platform, which does not support encryption. The package will be encrypted 
in your sandbox environments, but it will be published unencrypted to the Store.

這導致微軟問我這個:

The Target Device Family in the AppxManifest is set to Windows.Universal but that
means that your game can’t be encrypted due to Windows.Mobile not supporting it. Please set 
the Target Device Family to Windows.Xbox and Windows.Desktop
instead so that your build can be encrypted and then resubmit the new build.

如果我將目標設置為 Windows.Desktop (在 Appx_Manifest 中將 TargetDeviceFamily 設置為 Name="Windows.Desktop")它仍然可以編譯和構建,但商店向我顯示了一些新的錯誤,例如:

Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.VCLibs.140.00 14.0.30704.0, 10.0.10042.0
Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.VCLibs.140.00 14.0.30704.0, 10.0.10042.0
Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.NET.Native.Framework.2.2 2.2.29512.0, 10.0.10049.0
Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.NET.Native.Framework.2.2 2.2.29512.0, 10.0.10049.0
Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.NET.Native.Runtime.2.2 2.2.28604.0, 10.0.10049.0
Validation error: FrameworkDependencyVersionConflict - 10.0.0.0, Microsoft.NET.Native.Runtime.2.2 2.2.28604.0, 10.0.10049.0

有沒有辦法從 uwp-build 中刪除 windows.mobile 或者更簡單的方法來定位 Windows.Desktop 和 Windows.Xbox? 或者有沒有一種簡單的方法來修復 FrameworkdependencyVersionConflict?

謝謝,

哈利

請將項目文件中的 minversion 更改為錯誤消息中提到的版本。

像這樣:

<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.10049.0" MaxVersionTested="10.0.10049.0" />

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM