I am trying to learn the basics of building with Visual Studio Online.
I have worked through the basic instructions and watched the video here.
As in the video, I am using a simple web application project. What gets copied to the artifacts folder is the contents of the bin folder. What I am trying to have copied to the artifacts folder is everything for the site (such as the bin folder contents, web.config, etc). I think I am supposed to specify the path in the Contents text box for the Publish Build Artifacts step but I have tried every combination but nothing is ever copied. What is the secret to doing this?
Contents specify minimatch pattern filters (one on each line) that you want to apply to the list of files to be copied. For example:
** copies all files in the root folder.
**\ * copies all files in the root folder and all files in all sub-folders.
**\ bin copies files in any sub-folder named bin.
Check: https://msdn.microsoft.com/Library/vs/alm/Build/steps/build/publish-build-artifacts
If you want to manage Artifacts with TFS Build vNext, you can check this article: http://www.codewrecks.com/blog/index.php/2015/06/30/manage-artifacts-with-tfs-build-vnext/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With