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.
"App installer failed to install package dependencies. Ask the developer for Microsoft.VCLibs.140.00.Debug package"
From this prompt, we can know that this can be fixed by installing this Microsoft.VCLibs.140.00.Debug package. Usually, you can find it in your completed package. So you may install this file independently.
Or you could package your app under Release mode and then sideload the new file in this new package to your client machine.