AppUriHandler无法部署在Windows Phone 10(UWP)

时间:2017-04-05 11:14:46

标签: uwp windows-phone windows-10-mobile appxmanifest

我有 UWP商店应用并尝试使用 Package.appxmanifest 中的AppUriHandler进行网络到应用链接。
它似乎在桌面上运行良好,但我在 Windows Phone 10 上遇到部署错误:
DEP0001:意外错误:-2146958844

删除uap3:Extension

时,错误消失
<Package  
...  
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"  
IgnorableNamespaces="... uap3">  
...  
<Applications>  
<Application>  
  <Extensions>  
    <uap3:Extension Category="windows.appUriHandler">  
      <uap3:AppUriHandler>  
        <uap3:Host Name="mydomain.comunity.me" />  
      </uap3:AppUriHandler>  
    </uap3:Extension>  
  </Extensions>  

我根据以下帖子制作了清单:
Support web-to-app linking with app URI handlers
uap3:AppUriHandler

编辑(2017年4月6日)
这是使用 C ++ / CX WinRT 应用 部署(x86)到移动模拟器 10.0.14393.0时出现上述错误...

将部署(ARM)部署到 Microsoft Lumia 550 ,V1607,操作系统版本10.0.14393.953,我收到了不同的错误......

Visual Studio 2015输出...

2>Checking whether required frameworks are installed...  
2>Framework: Microsoft.VCLibs.140.00.Debug/ARM, app package version  
14.0.25017.0 is not currently installed.  
2>Installing missing frameworks...  
2>Registering the application to run from layout...  
2>DEP0001 : Unexpected Error: -2147009287  
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========  
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========  

(Visual Studio 2017产生完全相同的错误)

0 个答案:

没有答案