繁体   English   中英

Windows 10 商店应用程序提交/受限功能

[英]Windows 10 store application submission / Restricted capabilities

最近我的 vb.net 应用程序提交了以下来自微软的响应,我在任何地方都找不到解决方案

能力:10.6 受限能力

您无权使用以下受限功能 runFullTrust。 应用程序无法启动。 准时制 (JIT)

调试而不是这个对话框。 还必须在启用调试的情况下编译应用程序。

功能:10 个百年权限

您的应用使用了 RunFullTrust 权限,但尚未获得 Microsoft 的批准。

请在下面找到一些代码副本,这是一种从网页读取 xml 数据并将其显示给工具的工具。 我唯一担心的是我必须阅读系统全球化文化信息并临时将其更改为工具必须使用的格式,并在用户关闭应用程序时将其转换为原始设置

  'Current user settings 
Private currentCulture As System.Globalization.CultureInfo

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load

    ' Programın çalıştırıldıgı bilgisayardaki Tarih ve saat ayarları istenilen formata getirilir
    Dim tmpCurrentCulture As System.Globalization.CultureInfo
    tmpCurrentCulture = New System.Globalization.CultureInfo("en-US")

    'Culture is set back to its original value when form closes 
    currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture

    tmpCurrentCulture.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy dddd"
    System.Threading.Thread.CurrentThread.CurrentCulture = tmpCurrentCulture

    ' internet bağlantısı kontrol edilir

    Try

    If My.Computer.Network.Ping("www.google.com") Then

还请从应用程序中找到一些部分。 清单文件;

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp rescap">

<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />

如何进行必要的更改以重新提交申请?

由于您的 manifest 声明了runFullTrust能力,因此开发中心在分析包时会操纵内部流程来评估请求。有关提交流程的更多详细信息,您可以参考此博客

页面上传包后,会出现警告,如下图所示。 警告 提交页面,提交选项下方有一个声明,见图: 陈述 请在提交选项页面填写您需要runFullTrust功能的原因,以及它将如何在您的产品中使用,如下图所示: 如何

暂无
暂无

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

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