Deploying a asp.net website using team city

∥☆過路亽.° 提交于 2019-12-08 02:46:55

问题


How to deploy a web site project, which does not have any project file.

we are trying to automate build and deployment using team city.

i am able to successfully build the project, but not able to deploy the web site.


回答1:


MsDeploy supports deployment of WebSites via contentPath provider:

msdeploy -verb:sync -source:contentPath=WebSite\Deploy,computername=localhost -dest:auto...

Just change WebSite\Deploy to your actual path in your agent working directory, where is your builded website for deployment.



来源:https://stackoverflow.com/questions/14956108/deploying-a-asp-net-website-using-team-city

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!