Windows UWP - Modify AppX Package At Runtime

2019-08-02 18:59发布

问题:

We need to dynamically load assemblies at runtime in order to include customization for our users. However, after looking all over the web, I cannot find any information on whether Microsoft plan to make this feature possible or not. I have started a feature request here: https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/18145291-dynamically-load-assembly

Failing that, I figured that it may be possible to manually add assemblies in to the AppX package, and then force the user to quit, and reopen the app. Yes, this is horrible, but I don't see any way around this currently. Are there any examples out there on how to modify the AppX package?

Or, is this idea thwarted because the package would lose its certificate signing?