Optional Packages UWP C#

Daniel Breaux 1 Reputation point
2022-08-19T19:13:37.507+00:00

Hi, I'm trying to create an optional package for my UWP application.

I followed the guide here: https://learn.microsoft.com/en-us/windows/msix/package/optional-packages-with-executable-code#c-optional-packages-with-executable-code-1.

I referenced the winmd file created by my optional package, however when I install both the main Application and the optional package I get a class not registered error.
I'm unclear on how to load code from the optional package to execute inside of my main app.
Also does this allow loading of xaml as well?

Thanks,
Daniel

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
{count} votes