Windows 10 次商店申请提交/限制能力

Windows 10 store application submission / Restricted capabilities

最近我的 vb.net 申请提交了微软的以下回复,我在任何地方都找不到解决方案

Capabilities: 10.6 Restricted Capability

You do not have approval to use the following restricted capabilities runFullTrust. App fails to launch. just-in-time (JIT)

debugging instead of this dialog box. The application must also be compiled with debugging enabled.

Capabilities: 10 Centennial Permissions

Your app uses the RunFullTrust permission but has not been approved for the permission by 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能力,开发中心在分析package.You时会触发内部流程来评估请求,可以参考这个blog 有关提交过程的更多详细信息。

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