'应用程序安装程序未能安装软件包依赖项.向开发人员询问 Microsoft.VCLibs.140.00 [英] 'App installer failed to install package dependencies. Ask the developer for Microsoft.VCLibs.140.00

查看:81
本文介绍了'应用程序安装程序未能安装软件包依赖项.向开发人员询问 Microsoft.VCLibs.140.00的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它已经创建了将安装所有依赖项的脚本.

实际上,我为我找到了解决方案:如果您在 Release(而不是 Debug)中构建应用程序,它应该包含所有需要的依赖项.所以,我认为这对某人来说可能是某种解决方法.

screenshot of the error

I am getting this error:"App installer failed to install package dependencies.Ask the developer for Microsoft.VCLibs.140.00.Debug package" while side loading .appxbundle file via App installer in windows10 client machine, however the same was sideloaded in my (developer) machine without any issue. I am using Visual Studio 2017 for development. Couldn't find anything relevant in google. Somebody help..!!

解决方案

Try to add it to Dependencies section into .appinstaller file:

<Dependencies>
    <Package Name="Microsoft.VCLibs.140.00" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="14.0.24605.0" ProcessorArchitecture="x86" Uri="http://foobarbaz.com/fwkx86.appx" />
    <Package Name="Microsoft.VCLibs.140.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/fwkx64.appx" />
</Dependencies>

To read more about App Installer file, please visit microsoft docs: https://docs.microsoft.com/en-us/windows/uwp/packaging/install-related-set

Actually, you can install this application via ps1 script (run it from context menu -> Run with PowerShell):

It has already created script which will install all of dependencies.

Edit: Actually, I found solution for me: if you build the app in Release (instead of Debug) it should be contain all of needed dependencies into itself. So, I think it could be some kind of workaround for somebody.

这篇关于'应用程序安装程序未能安装软件包依赖项.向开发人员询问 Microsoft.VCLibs.140.00的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆