I am trying to use TFS2015 to publish a solution for a website like VS2015 using Publish Web App

I am using VS2015 and TFS2015. Using my solution on the website, I can successfully publish the web application using the VS2015 option (right-click) to publish the web application and the transformations to Web.config. I tried to configure the same functionality with TFS2015 and the new Build features, but did not succeed. Are there any recommendations from Microsoft regarding this? I looked at various examples for the new build capabilities of TFS2015, but I don’t see much functionality when publishing websites like VS2015 easily.

Earlier we used website deployment projects in VS / TFS 2010, but they were deprecated. Of course, there must be a way to publish a website solution in TFS2015, for example, support for VS2015.

Any help is appreciated. Thanks.

+5
source share
1 answer

The process of publishing a website in TFS2015 vNext build is similar to the process in TFS2013.

You need to add the following arguments to the MSBuild argument:

/ p: DeployOnBuild = True / p: DeployTarget = MSDeployPublish / p: CreatePackageOnPublish = True / p: MSDeployPublishMethod = InProc / p: MsDeployServiceUrl = localhost / p: DeployIisAppPath = "Default website / pionstudio 1.0 / TFSTest" / p: UserName =

enter image description here

+4
source

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


All Articles