首页 > 解决方案 > UWP .appinstaller - “解析应用程序包时出错。”

问题描述

我创建了一个 .appinstaller XML 文件,其中包含我的 UWP 包的详细信息,并将其链接到用户可以从中安装的网页。出于某种原因,这给了我“解析应用程序包时出错”的错误。尝试安装应用程序时。我已按照https://docs.microsoft.com/en-us/windows/uwp/packaging/install-related-set中提到的步骤进行操作

下面是用于创建 .appinstaller 的 xml。知道我可能会错过什么吗?

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
    xmlns="http://schemas.microsoft.com/appx/appinstaller/2017"
    Version="1.0.0.0" 
    Uri="http://mywebservice.azurewebsites.net/APP_UWP.appinstaller" > 

    <MainBundle 
        Name="MainApp"
        Publisher="CN=EGSolutions"
        Version="1.0.0.0"
        Uri="http://mywebservice.azurewebsites.net/EGClockingXamarin.UWP_1.0.8.0_x86_x64_arm_Debug.appxbundle" />

    <Dependencies>
        <Package Name="Microsoft.NET.CoreRuntime.2.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.24605.0" ProcessorArchitecture="x86" Uri="http://foobarbaz.com/Microsoft.NET.CoreRuntime.2.1.appx" />
        <Package Name="Microsoft.VCLibs.ARM.Debug.14.00" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.24605.0" ProcessorArchitecture="x64" Uri="http://foobarbaz.com/Microsoft.VCLibs.ARM.Debug.14.00.appx" />
    </Dependencies>

</AppInstaller>

标签: c#xamarinuwp

解决方案


推荐阅读