customize "ASP.NET CORE (Full framework)";build def. template for a solution with webapps and deploy them on azure

0 votes

I am using 4 asp.net core web apps inside a solution. I want to create the structure of artifacts like in the image below using VSO template "ASP.NET CORE".

enter image description here

The template contains a Visual Studio Build (version 1*) task with MSBuildArguments "/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactstagingdirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site" "

This results in a single WebApp.zip with the WebApps in solution. I want to create release definitions for each webapp using the azure deployment template and for that I'll need a zip file every for web app solution.

Jun 1, 2018 in Other DevOps Questions by Atul
• 10,240 points
72 views

1 answer to this question.

0 votes

Use san publish profile names while creating web apps packages

  1. Right click the project > Publish >Create a publish profile (Custom)
  2. Select Web Deploy Package
  3. Specify relative path in Package location (e.g. ..\..\a\Web1)
  4. Other settings
  5. After that, you can specify /p:DeployOnBuild=true /p:PublishProfile="[profile name]" in MSBuild Arguments of Visual Studio Build task.
answered Jun 1, 2018 by DareDev
• 6,810 points

Related Questions In Other DevOps Questions

+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 56,920 points
147 views
0 votes
1 answer

Setting up CICD on a local server

As to how to integrate git repo ...READ MORE

answered May 31, 2018 in Other DevOps Questions by ajs3033
• 7,280 points

edited May 31, 2018 by ajs3033 32 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
211 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,810 points
438 views
0 votes
1 answer

TFS support for in-build custom web sockets

TFS has no native support for this. ...READ MORE

answered Jul 19, 2018 in Other DevOps Questions by DareDev
• 6,810 points
48 views