Use MSIX framework packages dynamically from your desktop app
The Windows App SDK and the Windows 11 OS both enable your apps to reference and use MSIX framework packages dynamically at run time by using a feature called dynamic dependencies. This feature is intended to be used primarily by unpackaged desktop apps (that is, apps that do not use MSIX for their deployment technology) to use APIs and other content provided by MSIX framework packages.
The most common scenario for using the dynamic dependencies feature is to reference the Windows App SDK framework package in an unpackaged app. In some scenarios, you may want to use the dynamic dependencies feature to reference a different framework package from an unpackaged app, such as the framework package for WinUI2 or the DirectX Runtime.
For an overview of the dynamic dependencies feature and guidance about using it in your apps, see the following articles.
| Article | Description |
|---|---|
| MSIX framework packages and dynamic dependencies | Introduces important concepts related to MSIX framework packages and describes the purpose of dynamic dependencies feature. This article includes details about the package graph for framework package references and the servicing model for framework packages. |
| Use the Windows App SDK runtime | Describes how to use dynamically take a dependency on the Windows App SDK framework package in an unpackaged app at run time. This scenario enables unpackaged apps to use Windows App SDK features. |
| Reference framework packages at run time | Describes how to use the dynamic dependency API to dynamically take a dependency on different framework packages (other than the Windows App SDK framework package) in an unpackaged app at run time. |
Related topics
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ