I’m testing the usage of the optional package using this UWP sample with Visual Studio 2022 on Windows 11 (but the issue described below occurs for any sample I test).
With this sample I just deploy the main app (MyMainApp) and it’s optional package (OptionalPackage).
Both apps apear in the Start menu.
In the Windows “Settings/Apps/Installed apps” I see main app and the optional package, but I uninstall just the optional package, and the uninstall occurs normally without interfering with the main app.
But I need to prevent both the main app and the optional package from showing up in the Start menu, so for both projects I just did what is suggested in this post, that is:
In your manifest, go to the VisualElements element and add the
attribute AppListEntry=”none”.
After that, it started to occurs a problem, if I uninstall the optional package, the main app is uninstalled too.
The configuration in the main app’s manifest causes this problem, the optional package’s manifest configuration is indifferent.
Does anyone know how to prevent this issue from happening? Could this be a bug?
4