Skip to content

How to create optional package in WinUI3 project ? #3109

Closed Answered by DrusTheAxe
Osirisoo0O asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Osirisoo0O
Comment options

@DarranRowe
Comment options

@Osirisoo0O
Comment options

@DrusTheAxe
Comment options

Answer selected by Osirisoo0O
@visionarylab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants