Declared package dependency unavailable: Microsoft.VCLibs.140.00.UWPDesktop, Neutral, Universal,Universal

Akshay Verma 6 Reputation points
2019-11-14T09:57:29.277+00:00

Hi,

I have a wpf app and I have converted it to uwp app using Windows application packaging project from Visual Studio. I am trying to submit appxupload package on store but at last when validation happens I am getting the error like :

Declared package dependency unavailable: Microsoft.VCLibs.140.00.UWPDesktop, Neutral, Universal,Universal

The app is having dependency of Visual C++ runtime package. So I have included this dependency in the package.appxmanifest file.

This MinVersion is being taken from here :
https://learn.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-prepare

Please check the Your app uses a VCLibs framework package in the above link.

This dependency should automatically get installed from the store when user installs the app. This is the retail version of the dependency. Why the package is not getting accepted on the store. I have also validated the package using Windows app certification kit and the overall result is passed.

I have also tried reducing the MinVersion of Microsoft.VCLibs.140.00.UWPDesktop package to "14.0.24217.0" as suggested here : https://support.microsoft.com/en-in/help/3176696/c-runtime-framework-packages-for-desktop-bridge. But then also after generating the package it is not getting accepted on store.

System Configuration:

OS: Windows 10 pro build 18362

System Type: X64

Please suggest the changes needs to be done.

Thanks
Akshay

Universal Windows Platform (UWP)
{count} vote

1 answer

Sort by: Most helpful
  1. Harsh.sharma 6 Reputation points
    2019-11-18T07:18:54.697+00:00

    Hi Roy,

    The issue is resolved now. Actually I was building the AnyCPU architecture i.e. Neutral one and VC++ runtime libraries can't be neutral. So the store was not accepting it. Now I have checked both x86 and x64 and then created the appxbundle. Now I am successfully able to upload appxbundle package.

    Thanks for the help.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.