我有一个桌面应用程序,其结构如下:
默认模板创建了如下Copy Files
任务:
问题在于发布的工件包括所有文件夹中生成的所有二进制文件。我不要 我只想将它们包含在2个文件夹中Deployer.Lumia.Console
--Deployer.Lumia.Gui
这些是我的解决方案中的2个工具(它们生成.exe文件)
我尝试过创建2个不同的任务,如下所示:
但我不断收到此错误:
消息源是从GitHub的https://github.com/WoA-project/WOA-Deployer项目获得的
Every project is inside the \Source folder. So I don't know why it says it cannot be found.
What I am doing wrong and how to fix it?
You're getting the error about ../Deployer.Lumia.Gui/bin/**
because the Source Folder parameter doesn't support wildcards.
Use your wildcard minimatch pattern to filter the desired files & folders in the Contents
edit box.
To get the content of only those two folders into a directory under the artifact staging directory set up a single copy task as shown...
If the contents of the ..Gui and ..Console directories need to stay separate in the stage dir, then your use of two separate copy tasks is the simple and straight forward way to go.
我们正在将.dll
文件复制到阶段目录中的/ libraries位置。注意内容中捕获目录结构的通配符**\bin\*.dll
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句