Skip to main content

Package Dependencies

NEW in 2.2.0 – declare runtime dependencies on MSIX packages that must already be installed on the target machine. Common examples are the Microsoft VCLibs runtime, Microsoft.UI.Xaml (WinUI), or your own framework package.

PropertyTypeRequiredDescription
namestring (3-50 chars)yesThe Identity/Name of the dependency framework package. Must be unique within the array.
publisherstring (≤ 8192 chars, Distinguished Name)yesThe Identity/Publisher of the dependency. RFC-1779 format.
minVersionstringyesThe minimum version (Major.Minor.Build.Revision, Major > 0).

Example – depend on VCLibs

"msix": {
"packageDependencies": [
{
"name": "Microsoft.VCLibs.140.00",
"publisher": "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",
"minVersion": "14.0.30704.0"
}
]
}

Example – depend on WinUI 2.x

{
"name": "Microsoft.UI.Xaml.2.8",
"publisher": "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",
"minVersion": "8.2310.30001.0"
}

If the framework package is not present at install time, Windows refuses to install your MSIX. Distribute the dependency separately or via the Microsoft Store.