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.
| Property | Type | Required | Description |
|---|---|---|---|
name | string (3-50 chars) | yes | The Identity/Name of the dependency framework package. Must be unique within the array. |
publisher | string (≤ 8192 chars, Distinguished Name) | yes | The Identity/Publisher of the dependency. RFC-1779 format. |
minVersion | string | yes | The 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.