Akshay Verma
Akshay Verma

Reputation: 61

Declared package dependency unavailable while uploading uwp package to windows app store

When I upload the appxbundle, windows app store is giving error like :

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

I have included the package dependency in the Package.appxmanifest file : Below is the code :

<Dependencies>
    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.27323.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>

This dependency is the retail version.

Do I need to do anything else for including this dependency ?

Upvotes: 0

Views: 729

Answers (1)

Akshay Verma
Akshay Verma

Reputation: 61

The issue is resolved now. Let me summarize the solution for those who might face the same issue. Since VC++ runtime libraries can't be neutral so the project configuration should be either x86 or x64 or both while creating the appxbundle. VC++ libraries won't work with AnyCpu Architecture.

Upvotes: 0

Related Questions