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,220 points
40 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,670 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,140 points
113 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,080 points

edited May 31, 2018 by ajs3033 23 views
0 votes
1 answer
+13 votes
2 answers
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,670 points
177 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,670 points
30 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.