Building / Publishing Artifacts Using Visual Studio Online

I am trying to learn the basics of building using Visual Studio Online.

I worked through the basic instructions and watched the video here .

Like in the video, I use a simple web application project. What is copied to the artifacts folder is the contents of the bin folder. What I'm trying to copy to the artifacts folder is everything for the site (for example, the contents of the bin folder, web.config, etc.). I think I should specify the path in the "Content" text box for the "Publish artifact assembly" step, but I tried every combination, but nothing is copied. What is the secret of this?

+4
source share
3 answers

The content indicates the minimization template filters (one per line) that you want to apply to the list of files that you want to copy. For example:

** copies all files to the root folder.

** \ * copies all files to the root folder and all files in all subfolders.

** \ bin copies files to any subfolder named bin.

Note: https://msdn.microsoft.com/Library/vs/alm/Build/steps/build/publish-build-artifacts

If you want to manage artifacts using TFS Build vNext, you can check out this article: http://www.codewrecks.com/blog/index.php/2015/06/30/manage-artifacts-with-tfs-build-vnext /

+4
source

-. , -, Visual Studio Build VSO:

/p:DeployOnBuild=true /p:PublishProfile=PublishProfileName

, web.config. (, C:\Publish), VSO Build.

+3

, , , , FTP, ( , , ).

...

Visual Studio Online Team Services Copy published artifact settings

0

Source: https://habr.com/ru/post/1613711/


All Articles