在使用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的持续部署多个项目
发布评论