Windows App SDK dynamic dependency

Rudolf Meier 291 Reputation points
2022-02-11T13:32:00.043+00:00

ok, we have this here

1) https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/tutorial-unpackaged-deployment

this tells me, that I have to use "MddBootstrapInitialize" before I can use things from the App SDK (like WinUI 3)


and we have this here

2) https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/framework-packages/use-the-dynamic-dependency-api

telling me, that I need an "install-time reference" and a "install-time reference" ... which would be done using

"MddTryCreatePackageDependency" and "MddAddPackageDependency"


The question now (because all tutorials I found confuse me)...

Does MddBootstrapInitialize call MddAddPackageDependency? Or do I have to call both? Or just one? Which one? Why? ... what's the correct way of using these functions???

Rudolf

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
732 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 82,126 Reputation points
    2022-02-11T14:05:50.017+00:00

    Since the 1.0 Stable Release, I don't use BootStrap anymore for Unpackaged apps
    I just follow Create a WinUI 3 app


0 additional answers

Sort by: Most helpful