TFS Build vNext - copy all assemblies to one folder [duplicate]

白昼怎懂夜的黑 提交于 2019-12-11 14:06:56

问题


my first impression of the vNext was very good. Everything seems simple and straightforward. Now I just want to get a simple thing done and it gets complicated? I have a simple build definition which contains the Visual Studio Build. After the build is done i would like to copy all files from bin folders to one folder on a network share. With a xaml build definition this was already the default behavior if you set copy build output to \\myserver\share. Now with the default Copy and Publish Build Artifacts everything gets copied in a separate folder for each project. Like

\\\myserver\\share\...\drop
    + MyProject1\bin\
    + MyProject2\bin\

but i want all assemblies in

\\\myserver\\share\...\drop

How can i achieve this (as simple as possible).


回答1:


You can add several steps to copy the assemblies (One step for one project) and specify the copy root in the step. Refer to my answer in this question for details: Copy one file in target directory on deploy from visual studio team services



来源:https://stackoverflow.com/questions/34815713/tfs-build-vnext-copy-all-assemblies-to-one-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!