Windows 桌面扩展 - 我应该参考哪个版本? [英] Windows Desktop Extensions - which version should I reference?

查看:23
本文介绍了Windows 桌面扩展 - 我应该参考哪个版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景:我无法让 Windows 商店接受我的应用程序的新版本.他们说它在发射时崩溃了.即使从我电脑上的 appxbundle 文件安装,该应用也能正常运行.

Background: I'm having trouble getting my app's new version accepted by the Windows store. They say that it crashes on launch. The app runs fine even when installed from the appxbundle file on my computer.

所以我想这可能与我添加的桌面扩展(用于 UWP)有关.也许我引用了该程序集的错误版本.如果应用程序的目标版本是 16299,但最低版本是 14393 - 我应该在参考资料中包含哪个桌面扩展程序集?14393?16299?还是两者兼而有之(以及两者之间的那个)?

So I'm thinking maybe this has to do with the Desktop Extensions (for the UWP) that I've added. Perhaps I'm referencing the wrong version of that assembly. If the app is targeting version 16299 but min version is 14393 - which assembly of the desktop extensions should I include in the References? 14393? 16299? Or both (and the one between them as well)?

即使它是一个 UWP 应用程序(来自 Xamarin.Forms 解决方案),我也要标记这个 Centennial,因为我需要 Centennial 团队对桌面扩展进行确认.可能与此有关.

I'm tagging this Centennial as well even though it's a UWP app (from a Xamarin.Forms solution) because I needed the OK by the Centennial team for the Desktop Extensions. Maybe it has to do with that.

推荐答案

如果您的应用没有 runFullTrust 功能,那么您不需要 Centennial 批准.桌面扩展 SDK 仅提供对其他设备系列(如 Xbox)不一定可用的 API 的访问.

If your app does not have the runFullTrust capability then you do not need Centennial approval. The Desktop Extension SDK just provides access to APIs that aren't necessarily available on other device families, like Xbox.

您的应用可以使用 16299 扩展 SDK,并且仍然可以在 14393 操作系统上运行,只要您不使用任何更新的 API 或者您的应用中有点亮代码来检测 API 是否可用.您可以使用 ApiInformationAPI 用于检测某些 WinRT API 是否可用.

Your app can use the 16299 Extension SDK and still run on a 14393 OS as long as you don't use any newer APIs or you have light-up code in your app to detect whether APIs are available or not. You can use the ApiInformation APIs to detect whether certain WinRT APIs are available or not.

这篇关于Windows 桌面扩展 - 我应该参考哪个版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆