How to create optional package in WinUI3 project ? #3109
-
No template and no document. |
Beta Was this translation helpful? Give feedback.
Answered by
DrusTheAxe
Nov 16, 2022
Replies: 1 comment 5 replies
-
At the very least, have you tried to adapt the information given in the Optional Packages documentation? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use Optional packages but I recommend looking into Dynamic Dependencies
Optional packages support code if they're in a RelatedSet (if they're not your main package can't access code in them. Makes not-RelatedSet Optional packages great for WordArt and other data-only assets but not so much for code like plugins). If memory serves to be part of a RelatedSet requires packages be in the same MSIX Bundle. That's great when you have tightly integrated code you sliced up into multiple optional parts (think "game DLC") but less so when you have a plugin extensibility model.
Dynamic Dependencies lets you dynamically add packages to your package graph at runtime. This is to MSIX packages a…