问题
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