使用团队城市部署一个 asp.net 网站 [英] Deploying a asp.net website using team city
本文介绍了使用团队城市部署一个 asp.net 网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何部署一个没有任何项目文件的网站项目.
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.
推荐答案
MsDeploy 支持通过 contentPath
提供程序部署网站:
MsDeploy supports deployment of WebSites via contentPath
provider:
msdeploy -verb:sync -source:contentPath=WebSite\Deploy,computername=localhost -dest:auto...
只需将 WebSite\Deploy
更改为您在代理工作目录中的实际路径,即您构建的用于部署的网站.
Just change WebSite\Deploy
to your actual path in your agent working directory, where is your builded website for deployment.
这篇关于使用团队城市部署一个 asp.net 网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文