[英]How to customize “ASP.NET CORE (Full framework)” build definition template for a solution with multiple web apps and deploy each on Azure
I have a solution with 4 Asp.Net Core (full framework) web apps inside. 我有一个带有4个Asp.Net Core(完整框架)Web应用程序的解决方案。 How can you create the structure of the Artifacts Explorer shown in the image posted here by Donovan Brown if you create a new Build Definition using the VSO template "ASP.NET CORE (.NET Framework).
如果使用VSO模板“ ASP.NET CORE(.NET Framework)创建新的构建定义,那么如何创建Artifacts Explorer的结构,显示在Donovan Brown在此处发布的图像中”。
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" " 该模板包含一个Visual Studio Build(版本1 *)任务,其中包含MSBuildArguments“ / p:DeployOnBuild = true / p:WebPublishMethod = Package / p:PackageAsSingleFile = true / p:SkipInvalidConfigurations = true / p:DesktopBuildPackageLocation =” $(build。 artifeststagingdirectory)\\ WebApp.zip“ / p:DeployIisAppPath =”默认网站“”
This creates a single WebApp.zip with all the web apps in the solution. 这将创建一个WebApp.zip,其中包含解决方案中的所有Web应用程序。
I want to have a zip file for every web app in the solution so that I can create Release definitions for each web app using the Azure deployment teamplate. 我想要解决方案中每个Web应用程序都有一个zip文件,以便可以使用Azure部署团队面板为每个Web应用程序创建发布定义。
Thank you 谢谢
You can create packages of web apps by using publish profiles with the same name. 您可以使用具有相同名称的发布配置文件来创建Web应用程序包。
..\\..\\a\\Web1
) ..\\..\\a\\Web1
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.