c# - 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>
解决方案
推荐阅读
- powershell - 使用 XAML 将输出重定向到 PowerShell 中的文本框
- javascript - 如何构建从 HTML / JavaScript 表单传递的消息?
- python - 如何绘制从 scipy.brute() 方法输出的 4-D 数据?
- reactjs - 状态内部动态创建的组件在商店更改时不会更新
- apache-kafka - 无法消费 Kafka 消息
- r - 在 R 中处理复杂的列表
- android - ConstraintLayout:将视图锚定到父级的中心,同时将其尺寸限制为不与兄弟级重叠
- ruby-on-rails - 如何从 Active Storage 获取图像的永久 URL?
- bash - 如何使用awk打印双引号?
- android - 如何在 android xml 中创建下面的 UI?