[UWP]如何按需加载DLL [英] [UWP]How to load DLL on demand
问题描述
1。 dll的许可证要求用户能够按需更新dll。当用户想要使用更新版本的dll
1. The license of the dll requires the user to be able to update the dll on demand. The user cant and shouldnt ha ve to do builds whenever he wants to use a newer version of the dll
2时,用户无法进行构建。许可证不允许将dll与我的应用程序一起分发。
2. The license doesnt allow the dll to be distributed together with my app.
推荐答案
所有可执行文件都需要预先构建并在分发时包含在应用程序包中。最终用户无法将DLL添加到应用程序。打包应用程序时需要包含它。
All executables need to be pre-built and included in the app package when it is distributed. A DLL cannot be added to the app by the end user. It would need to be included when the app was packaged.
如果您的用户正在加载您的应用程序,那么他们可以添加DLL然后重新打包并在部署之前自行重新启动应用程序。如果他们从商店加载应用,那么他们就无法对其进行任何更改。
If your users are side-loading your app, then they could add the DLL then repackage and resign the app themselves before deploying. If they're loading the app from the store then they can't make any changes to it.
这篇关于[UWP]如何按需加载DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!