Uninstalling optional package also uninstalls main app
I'm testing the usage of the optional package using this UWP sample.
With this sample I just deploy the main app and it's optional package.
In the Windows "Settings/Apps/Installed apps" I see the optional package and I uninstall it, and the uninstall occurs normally without interfering with the main app.
But I need to prevent the main app and the optional package from showing up in the Start menu, so I just did what is suggested in this post, that is:
in both 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?
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more