[UWP]如何在打包UWP应用程序时添加dll?

[UWP]如何在打包UWP应用程序时添加dll?

问题描述:

这是我第一次将应用程序发布到Windows商店,而且每当我尝试通过appxbundle运行我的应用程序时,我遇到了问题。我使用的是"Windows应用程序包装项目"。来自visual studio,我按照
我在网上找到的所有指南,我的应用程序正在通过测试并成功创建appxupload文件和包含appxbundle等的文件夹。当我尝试侧载我的应用程序时,我得到一条消息,我错过了一些dll,这是
,因为在创建可执行文件时,它无法访问它需要的dll。如何打包UWP将所需的dll嵌入到可执行文件中,以便它可以按预期运行?

Hi, it's my first time publishing an app to the windows store and currently I am having problems whenever I try to run my application through an appxbundle. I am using the "Windows Application Packaging Project" from visual studio and I follow all the guidelines I've found online, my app is passing the test and successfully creating the appxupload file and the folder containing the appxbundle and more. When I try to sideload my applicaton I get a message that I am missing some dlls, and this is because when the executable is being created it has no access to the dlls that it needs. How can I package a UWP embedding the needed dlls into the executable so it can run as it's supposed to?

DLL是UWP类库吗?
Are the DLLs UWP Class Libraries?