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
1,065 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,890 points

Related Questions In Other DevOps Questions

0 votes
0 answers

Is there a way to embed a framework for ios build in Azure DevOps?

I want to build an IPA package ...READ MORE

Mar 20, 2022 in Other DevOps Questions by Kichu
• 19,040 points
628 views
0 votes
0 answers
0 votes
0 answers
+1 vote
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 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,890 points
2,863 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,890 points
649 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP