从Visual Studio团队服务Azure的持续部署多个项目

编程入门 行业动态 更新时间:2024-10-23 15:23:44
本文介绍了从Visual Studio团队服务Azure的持续部署多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在使用Github上(或任何其他比Visual Studio团队服务),我可以使用下面的页面定制部署:的 github/projectkudu/kudu/wiki/Customizing-deployments

While using Github (or anything other than Visual Studio Team Services) I can use the following page to customize deployment: github/projectkudu/kudu/wiki/Customizing-deployments

我想定制我的部署,因为我现在有两个一个Web应用程序和Web API项目。我希望要部署的Web应用程序,因为默认情况下它部署在Web API项目。使用项目库杜的设置(.deployment文件甚至更好,在Azure本身的应用程序设置)的伟大工程,但不是当你从Visual Studio Team Services的部署。

I'd like to customize my deployment as I currently have both a web app and a web api project. I want the web app to be deployed, as default it deploys the web api project. Using project Kudu the settings (.deployment file or even better, the app settings on Azure itself) works great, but not when you deploy from Visual Studio Team Services.

我已经从项目库杜大卫Ebbo发言,他解释说,VS团队服务不使用捻可言,但可能MS构建。所以我的问题是,如何具体部署Web应用程序。

I've spoken with David Ebbo from Project Kudu, and he explained that VS Team Services doesn't use Kudu at all, but probably MS Build. So my question is, how to specifically deploy the web app.

我设法改变生成定义并指定Web应用程序的.csproj的项目,以建立。这工作。不过,我也想部署我网页API。

I managed to change the Build Definition and specify the web app .csproj as the Projects To Build. This works. However, I also want to deploy my web api.

与部署捻网络API项目是很容易,因为我可以创建一个单独的网站,连接到一些库(和解决方案),因此它部署了正确的.csproj指定项目的应用程序设置。我们应如何做到这一点的MS建立?当我改变生成定义,它会永远部署有规定的项目。

Deploying the web api project with Kudu is easy as I can create a separate website, connect to the some repository (and solution) and specify the Project App setting so that it deploys the correct .csproj. How should we do this for MS Build? When I change the Build Definition, it will always deploy the project specified in there.

推荐答案

刚看到#2另一个答案,看起来来解决这个问题:Publish多个项目在Azure的网站不同位置

Just saw another answer on Stackoverflow that looks to solve this problem: Publish Multiple Projects to Different Locations on Azure Website

更多推荐

从Visual Studio团队服务Azure的持续部署多个项目

本文发布于:2023-11-14 00:03:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1585661.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   团队   项目   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!