如何在 UWP 应用程序的 AppX 中包含文件夹和文件?

How to include folders and files in AppX for UWP application?

我有一个 UWP 应用程序,其中包含多个 UWP 项目和一些 win32 项目(win form、wpf 等)。部署后,我想看到我的 win32 二进制文件复制到 AppX 文件夹,我该怎么做?我是使用 post 构建还是其他?

您可能正在寻找 Build Action: Content:

select visual studio 中的条目以查看下面的菜单。通常您会使用图像或其他资源来执行此操作。

要为整个文件夹设置构建操作,您可以参考In Visual Studio, how can I set the Build Action for an entire folder?