本文介绍了无权使用“限制能力”命名空间和提交使用Desktop Bridge转换的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用DesktopAppConverter将桌面应用程序转换为Windows应用程序,但是当我将此应用程序提交到Windows应用程序商店时,我遇到以下错误:

I have converted a desktop app to the windows app using the DesktopAppConverter, but when i submit this app to the windows app store, i encounter the following errors:


1>包接受验证错误:
你无权在包xxx .appx的appx清单文件中指定以下命名空间:http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities

2>包接受验证错误:
您的开发者帐户目前无权提交使用桌面桥转换的应用.https://aka.ms/desktopbridgeforwindowsstore


的AppxManifest.xml文件中,我找到命名空间:

_________________________________________________________________________

<?xml version =" 1.0" encoding =" utf-8"?>

< Package xmlns =" http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap =" http://schemas.microsoft.com/appx/manifest/uap/ windows10" xmlns:uap2 =" http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3 =" http://schemas.microsoft.com/appx/manifest/uap/ windows10 / 3"
xmlns:rescap =" http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop =" http://schemas.microsoft.com/appx/manifest/desktop/windows10">

 < Identity Name =" xxx" ProcessorArchitecture =" x64" Publisher =" CN = TorchSUN" Version =" 1.0.0.0" />

 < Properties>

&N BSP; &NBSP; < DisplayName> xxx< / DisplayName>

  &NBSP; < PublisherDisplayName> xxx< / PublisherDisplayName>

  &NBSP; <徽标> title50x50.png< /徽标>

  < / Properties>

  <资源>

  &NBSP; <资源语言=" en-us" />

  < / Resources>

  <依赖关系>

  &NBSP; < TargetDeviceFamily Name =" Windows.Desktop" MINVERSION = QUOT; 10.0.14393.0" MaxVersionTested = QUOT; 10.0.14393.0" />

  < / Dependencies>

  <功能>

  < rescap:Capability Name =" runFullTrust" />

  < / Capabilities>

  <应用程序>

    < Application Id =" xxx"可执行= QUOT; xxx.exe" EntryPoint =" Windows.FullTrustApplication" >

  &NBSP; &NBSP; < uap:VisualElements DisplayName =" xxx"描述= QUOT; XXX" BACKGROUNDCOLOR = QUOT;#777777" Square150x150Logo = QUOT; title150x150.png" Square44x44Logo = QUOT; title44x44.png" />

  &NBSP; &NBSP; < Extensions />

  &NBSP; < / Application>

  < / Applications>

< / Package>

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
  <Identity Name="xxx" ProcessorArchitecture="x64" Publisher="CN=TorchSUN" Version="1.0.0.0" />
  <Properties>
    <DisplayName>xxx</DisplayName>
    <PublisherDisplayName>xxx</PublisherDisplayName>
    <Logo>title50x50.png</Logo>
  </Properties>
  <Resources>
    <Resource Language="en-us" />
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
  </Dependencies>
  <Capabilities>
  <rescap:Capability Name="runFullTrust" />
  </Capabilities>
  <Applications>
    <Application Id="xxx" Executable="xxx.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements DisplayName="xxx" Description="xxx" BackgroundColor="#777777" Square150x150Logo="title150x150.png" Square44x44Logo="title44x44.png" />
      <Extensions />
    </Application>
  </Applications>
</Package>

_______________________________________

_______________________________________

但是这个AppxManifest.xml文件是自动生成的通过DeskAppConverter,我尝试删除以下行并使用MakeAppx.exe打包.appx文件,

but this AppxManifest.xml file is automatically generated by the DeskAppConverter,i try to remove following lines and use the MakeAppx.exe to pack the .appx file,

xmlns:rescap =" http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" 

 < rescap:Capability Name =" runFullTrust"
/>

然后我遇到此错误:"指定的元素需要" runFullTrust"功能

then i encounter this error:"the element specified requires "runFullTrust" capability,

这个应用程序用于显示传感器的数据,我知道我不能使用限制功能  namespce来自以下关于"应用程序功能的链接"声明"

this app is used to display the sensor's data and i know i cann't use the restrictedcapabilities namespce from following link about "App capability declarations"

https://msdn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations?f=255&MSPPError = -2147217396#special-and-restricted-capabilities

但我不知道如何修复它,是否有人知道这个问题?

but i don't know how to fix it, does anyone know this issue?

第二个错误: 您的开发者
帐户目前无权提交使用桌面桥转换的应用。

For the second error:Your developer account doesn’t have permission to submit apps converted with the Desktop Bridge at this time.

我提交信息后到这个网站:

After i submit my information to this website:

htt ps://aka.ms/desktopbridgeforwindowsstore

我需要等待MS的反馈,我是对的吗?

i need to wait the MS's feedback, am i right?




推荐答案

是的,你是对的。微软开发团队很快就会与你联系。
相关主题

Yes you are right. the Microsoft development team contact with you soon. Related topic


这篇关于无权使用“限制能力”命名空间和提交使用Desktop Bridge转换的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 12:44